 | CPGURefFile Method |
Create a reference file (boolean mask flag) from pager.
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntaxpublic static void RefFile(
CGXNETCore gxNetShared,
CPG pg,
string ref_fil
)
public static void RefFile(
CGXNETCore gxNetShared,
CPG pg,
string ref_fil
)
Public Shared Sub RefFile (
gxNetShared As CGXNETCore,
pg As CPG,
ref_fil As String
)
Public Shared Sub RefFile (
gxNetShared As CGXNETCore,
pg As CPG,
ref_fil As String
)
public:
static void RefFile(
CGXNETCore^ gxNetShared,
CPG^ pg,
String^ ref_fil
)
public:
static void RefFile(
CGXNETCore^ gxNetShared,
CPG^ pg,
String^ ref_fil
)
static member RefFile :
gxNetShared : CGXNETCore *
pg : CPG *
ref_fil : string -> unit
static member RefFile :
gxNetShared : CGXNETCore *
pg : CPG *
ref_fil : string -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - pg
- Type: GeoEngine.Core.GXNetXCPG
PG object - ref_fil
- Type: SystemString
Reference file name
Remarks
A reference file is a binary file with the following format:
The first 8 bytes are the pager dimensions NX and NY as longs.
The remaining bits, one bit per pager cell - (NX * NY)/8 bytes
are zero where the pager is dummy, and 1 where the pager is defined.
The reference file is used in various operations where it is
necessary to mask some output to the original defined cells.
See Also