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

Available since Oasis montaj version: 9.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.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.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 oVV1,
	CVV oVV2,
	CVV oVV3,
	CIMG oIMG4,
	string str5,
	int i6
)

Parameters

oVV1
Type: GeoEngine.Core.GXNetCVV
real X VV
oVV2
Type: GeoEngine.Core.GXNetCVV
real Y VV
oVV3
Type: GeoEngine.Core.GXNetCVV
real Z VV
oIMG4
Type: GeoEngine.Core.GXNetCIMG
IMG for Z value, or IMG_NULL for no Z.
str5
Type: SystemString
Command line prompt string
i6
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