Click or drag to resize

CDUSampleGD Method

Sample a GD at a specified X and Y.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void SampleGD(
	CDB db,
	int line,
	int ix_ch,
	int iy_ch,
	int o_ch,
	CGD img
)

public static void SampleGD(
	CDB db,
	int line,
	int ix_ch,
	int iy_ch,
	int o_ch,
	CGD img
)

Parameters

db
Type: GeoEngine.Core.GXNetCDB
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.GXNetCGD
Grid handle
Remarks
Values in result channel
See Also