![](../icons/Help.png) | 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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
NotesValues in result channel
Syntaxpublic static void SampleIMG(
CGXNETCore gxNetShared,
CDB db,
int line,
int ix_ch,
int iy_ch,
int o_ch,
CIMG img
)
Public Shared Sub SampleIMG (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
ix_ch As Integer,
iy_ch As Integer,
o_ch As Integer,
img As CIMG
)
public:
static void SampleIMG(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
int ix_ch,
int iy_ch,
int o_ch,
CIMG^ img
)
static member SampleIMG :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
ix_ch : int *
iy_ch : int *
o_ch : int *
img : CIMG -> 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 IMG [<define>DB_LOCK_READWRITE</define>] - img
- Type: GeoEngine.Core.GXNetXCIMG
IMG handle
See Also