| CIMGCreateFile Method |
Creates an Image object tied to a grid file.
Available since Oasis montaj version: 5.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
When the <define>GS_DOUBLE</define> data type is chosen the actual on-disk
type of the input image will be used instead of <define>GS_DOUBLE</define>
if the on-disk values represent color data as opposed
to real numbers.
Syntax public static CIMG CreateFile(
CGXNETCore gxNetShared,
int type,
string grid,
int mode
)
Public Shared Function CreateFile (
gxNetShared As CGXNETCore,
type As Integer,
grid As String,
mode As Integer
) As CIMG
public:
static CIMG^ CreateFile(
CGXNETCore^ gxNetShared,
int type,
String^ grid,
int mode
)
static member CreateFile :
gxNetShared : CGXNETCore *
type : int *
grid : string *
mode : int -> CIMG
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - type
- Type: SystemInt32
Data type, <define>GS_TYPES</define> or <define>GS_TYPE_DEFAULT</define> to use native DAT type. - grid
- Type: SystemString
Name of the Grid to link to - mode
- Type: SystemInt32
Grid file open mode <define>IMG_FILE</define>
Return Value
Type:
CIMGIMG object
See Also