Click or drag to resize
CEMAPiDigitize2 Method
Digitise points from the current map and place in VVs.

Available since Oasis montaj version: 5.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.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
The command line will start to recieve digitized points from the mouse. Whenever the left mouse button is pressed, the current view X,Y are placed on the workspace command line. If a valid IMG is passed, the Z value is also placed on the command line. If auto-newline is specified, the line is immediately placed into the VVs, otherwise the user has the oportunity to enter data before pressing Enter. Locations are in the current view user units
Syntax
public int iDigitize2(
	CVV vvx,
	CVV vvy,
	CVV vvz,
	CIMG img,
	string prompt,
	int newline
)

Parameters

vvx
Type: GeoEngine.Core.GXNetXCVV
Real X VV
vvy
Type: GeoEngine.Core.GXNetXCVV
Real Y VV
vvz
Type: GeoEngine.Core.GXNetXCVV
Real Z VV
img
Type: GeoEngine.Core.GXNetXCIMG
IMG for Z value, or <define>IMG_NULL</define> for no Z.
prompt
Type: SystemString
Command line prompt string
newline
Type: SystemInt32
0 for no newline 1 for automatic newline at each point

Return Value

Type: Int32
0 if user digitized some points. 1 if user cancelled.
See Also