| CIMGCreateNewFile Method |
Creates an output image file using User defined info.
Available since Oasis montaj version: 5.0.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
Special Note for developers who use this function and
related functions to output ERMapper image (ERS, ECW) files:
This function internally called ERMapper plugin to create ERS header
files. To find the location of ERMapper plugin library, a registry setting
needs to set. The key in the registry is HKEY_LOCAL_MACHINE\SOFTWARE\"MyProgram(libversion7.0)"
and in that key register a string BASE_PATH = D:\Oasismontaj\plugins\er_mapper.
MyProgram is the name of your application and D:\Oasismontaj\plugins\er_mapper
is the location of ERMapper library.
It is recommended that this registry key is set during the installation
of your application.
Syntax public static CIMG CreateNewFile(
int i1,
int i2,
int i3,
int i4,
string str5
)
Public Shared Function CreateNewFile (
i1 As Integer,
i2 As Integer,
i3 As Integer,
i4 As Integer,
str5 As String
) As CIMG
public:
static CIMG^ CreateNewFile(
int i1,
int i2,
int i3,
int i4,
String^ str5
)
static member CreateNewFile :
i1 : int *
i2 : int *
i3 : int *
i4 : int *
str5 : string -> CIMG
Parameters
- i1
- Type: SystemInt32
Data type, GS_TYPESConstant Cannot be GS_TYPE_DEFAULT - i2
- Type: SystemInt32
Grid orientation (KX): 1 (rows in X) -1 (rows in Y) - i3
- Type: SystemInt32
Grid width - i4
- Type: SystemInt32
Grid height - str5
- Type: SystemString
Name of the Grid to link to
Return Value
Type:
CIMGIMG Object
See Also