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

Available since Oasis montaj version: 9.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
Same as iDigitize2_EMAP, but the closest peaks to the selected locations are returned instead of the selected location. The method chooses the highest value of the 8 surrounding points, the repeats this process until no higher value can be found in any of the 8 surrounding points. If there are two or more points with a higher value, it will just take the first one and continue, and this method will stall on flat areas as well (since no surrounding point is larger).
Syntax
public int iDigitizePeaks(
	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