![](../icons/Help.png) | 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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
NotesValues in result channel
Syntaxpublic static void SampleGD(
CGXNETCore gxNetShared,
CDB db,
int line,
int ix_ch,
int iy_ch,
int o_ch,
CGD img
)
Public Shared Sub SampleGD (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
ix_ch As Integer,
iy_ch As Integer,
o_ch As Integer,
img As CGD
)
public:
static void SampleGD(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
int ix_ch,
int iy_ch,
int o_ch,
CGD^ img
)
static member SampleGD :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
ix_ch : int *
iy_ch : int *
o_ch : int *
img : CGD -> unit
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