 | CEMAPiDigitize Method |
Digitise points from the current map and place in a WA.
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic int iDigitize(
CWA wa,
CIMG img,
int digits,
string prompt,
string prefix,
string delim,
int newline
)
public int iDigitize(
CWA wa,
CIMG img,
int digits,
string prompt,
string prefix,
string delim,
int newline
)
Public Function iDigitize (
wa As CWA,
img As CIMG,
digits As Integer,
prompt As String,
prefix As String,
delim As String,
newline As Integer
) As Integer
Public Function iDigitize (
wa As CWA,
img As CIMG,
digits As Integer,
prompt As String,
prefix As String,
delim As String,
newline As Integer
) As Integer
public:
int iDigitize(
CWA^ wa,
CIMG^ img,
int digits,
String^ prompt,
String^ prefix,
String^ delim,
int newline
)
public:
int iDigitize(
CWA^ wa,
CIMG^ img,
int digits,
String^ prompt,
String^ prefix,
String^ delim,
int newline
)
member iDigitize :
wa : CWA *
img : CIMG *
digits : int *
prompt : string *
prefix : string *
delim : string *
newline : int -> int
member iDigitize :
wa : CWA *
img : CIMG *
digits : int *
prompt : string *
prefix : string *
delim : string *
newline : int -> int
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.
Remarks
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
See Also