Skip to content

Commit 239e723

Browse files
committed
Adding StartNewUnboundShape to IMuteMap
1 parent 4f8e4b5 commit 239e723

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

src/MW5.Api/Interfaces/IMuteMap.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ public interface IMuteMap: IComWrapper, IPrintableMap
104104
void Clear();
105105
void Undo();
106106
bool FindSnapPoint(double tolerance, double xScreen, double yScreen, ref double xFound, ref double yFound);
107+
bool StartNewBoundShape(double xScreen, double yScreen);
108+
bool StartNewBoundShape(int layerHandle);
107109

108110
double GeodesicArea(IGeometry polygon);
109111
double GeodesicDistance(double projX1, double projY1, double projX2, double projY2);

src/MW5.Api/Map/BoundMapControl.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,16 @@ public bool SnapShotToDC2(
115115
return _map.SnapShotToDC2(hDC, extents.GetInternal(), width, offsetX, offsetY, clipX, clipY, clipWidth, clipHeight);
116116
}
117117

118+
public bool StartNewBoundShape(double xScreen, double yScreen)
119+
{
120+
return _map.StartNewBoundShape(xScreen, yScreen);
121+
}
122+
123+
public bool StartNewBoundShape(int layerHandle)
124+
{
125+
return _map.StartNewBoundShapeEx(layerHandle);
126+
}
127+
118128
[Browsable(false)]
119129
public IFeatureSet SelectedFeatureSet
120130
{

0 commit comments

Comments
 (0)