Click or drag to resize
CDUSampleGD Method
Sample a GD at a specified X and Y.

Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
Values in result channel
Syntax
public static void SampleGD(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	int ix_ch,
	int iy_ch,
	int o_ch,
	CGD img
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
db
Type: GeoEngine.Core.GXNetXCDB
Database
line
Type: SystemInt32
Line Handle to sample
ix_ch
Type: SystemInt32
X Input Channel [<define>DB_LOCK_READONLY</define>]
iy_ch
Type: SystemInt32
Y Input Channel [<define>DB_LOCK_READONLY</define>]
o_ch
Type: SystemInt32
Z Output Channel sampled from GD [<define>DB_LOCK_READWRITE</define>]
img
Type: Geosoft.Desktop.GXNetXCGD
Grid handle
See Also