Click or drag to resize
CEMAPiDigitize Method
Digitise points from the current map and place in a WA.

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 WA, otherwise the user has the oportunity to enter data before pressing Enter. Locations are in the current view user units
Syntax
public int iDigitize(
	CWA wa,
	CIMG img,
	int digits,
	string prompt,
	string prefix,
	string delim,
	int newline
)

Parameters

wa
Type: GeoEngine.Core.GXNetXCWA
WA in which to write digitized points
img
Type: GeoEngine.Core.GXNetXCIMG
IMG for Z value, or <define>IMG_NULL</define> for no Z.
digits
Type: SystemInt32
Number of significant digits to use, 0 for all.
prompt
Type: SystemString
Command line prompt string
prefix
Type: SystemString
New line prefix string
delim
Type: SystemString
Delimiter
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