Click or drag to resize
CDUSampleIMG Method
Sample a IMG 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 SampleIMG(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	int ix_ch,
	int iy_ch,
	int o_ch,
	CIMG 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 IMG [<define>DB_LOCK_READWRITE</define>]
img
Type: GeoEngine.Core.GXNetXCIMG
IMG handle
See Also