| CEMAPiDigitizePolygon Method |
Same as iDigitze2_EMAP, but automatically close polygons.
Available since Oasis montaj version: 5.0.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.
License: Available to anyone.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
This is the same as iDigitize2_EMAP, except that it automatically
detects, (except for the 2nd and 3rd points) when a selected location
is within the entered number of pixels from the starting point. If yes,
the polygon is assumed to be closed, and the operation is the same as
the RMB "done" command, and the process returns 0.
Syntax public int iDigitizePolygon(
CVV oVV1,
CVV oVV2,
CVV oVV3,
CIMG oIMG4,
string str5,
int i6,
int i7
)
Public Function iDigitizePolygon (
oVV1 As CVV,
oVV2 As CVV,
oVV3 As CVV,
oIMG4 As CIMG,
str5 As String,
i6 As Integer,
i7 As Integer
) As Integer
public:
int iDigitizePolygon(
CVV^ oVV1,
CVV^ oVV2,
CVV^ oVV3,
CIMG^ oIMG4,
String^ str5,
int i6,
int i7
)
member iDigitizePolygon :
oVV1 : CVV *
oVV2 : CVV *
oVV3 : CVV *
oIMG4 : CIMG *
str5 : string *
i6 : int *
i7 : int -> int
Parameters
- oVV1
- Type: GeoEngine.Core.GXNetCVV
real X VV - oVV2
- Type: GeoEngine.Core.GXNetCVV
real Y VV - oVV3
- Type: GeoEngine.Core.GXNetCVV
real Z VV - oIMG4
- Type: GeoEngine.Core.GXNetCIMG
IMG for Z value, or IMG_NULL for no Z. - str5
- Type: SystemString
Command line prompt string - i6
- Type: SystemInt32
0 for no newline 1 for automatic newline at each point - i7
- Type: SystemInt32
close the polygon if the selected location is within this radius in screen pixels.
Return Value
Type:
Int32
0 if user digitized some points.
1 if user cancelled.
See Also