| CEMAPiDigitize Method |
Digitise points from the current map and place in a WA.
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
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 oWA1,
CIMG oIMG2,
int i3,
string str4,
string str5,
string str6,
int i7
)
Public Function iDigitize (
oWA1 As CWA,
oIMG2 As CIMG,
i3 As Integer,
str4 As String,
str5 As String,
str6 As String,
i7 As Integer
) As Integer
public:
int iDigitize(
CWA^ oWA1,
CIMG^ oIMG2,
int i3,
String^ str4,
String^ str5,
String^ str6,
int i7
)
member iDigitize :
oWA1 : CWA *
oIMG2 : CIMG *
i3 : int *
str4 : string *
str5 : string *
str6 : string *
i7 : int -> int
Parameters
- oWA1
- Type: GeoEngine.Core.GXNetCWA
WA in which to write digitized points - oIMG2
- Type: GeoEngine.Core.GXNetCIMG
IMG for Z value, or IMG_NULL for no Z. - i3
- Type: SystemInt32
number of significant digits to use, 0 for all. - str4
- Type: SystemString
Command line prompt string - str5
- Type: SystemString
New line prefix string - str6
- Type: SystemString
Delimiter - i7
- 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