 | CPROJiAddGridDocuments Method |
Adds (and opens) multiple grid document files of the same type in the current project with a shared (same) colour distribution and colour file.
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntaxpublic static int iAddGridDocuments(
CGXNETCore gxNetShared,
CVV names,
string colors,
int method,
int display
)
public static int iAddGridDocuments(
CGXNETCore gxNetShared,
CVV names,
string colors,
int method,
int display
)
Public Shared Function iAddGridDocuments (
gxNetShared As CGXNETCore,
names As CVV,
colors As String,
method As Integer,
display As Integer
) As Integer
Public Shared Function iAddGridDocuments (
gxNetShared As CGXNETCore,
names As CVV,
colors As String,
method As Integer,
display As Integer
) As Integer
public:
static int iAddGridDocuments(
CGXNETCore^ gxNetShared,
CVV^ names,
String^ colors,
int method,
int display
)
public:
static int iAddGridDocuments(
CGXNETCore^ gxNetShared,
CVV^ names,
String^ colors,
int method,
int display
)
static member iAddGridDocuments :
gxNetShared : CGXNETCore *
names : CVV *
colors : string *
method : int *
display : int -> int
static member iAddGridDocuments :
gxNetShared : CGXNETCore *
names : CVV *
colors : string *
method : int *
display : int -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - names
- Type: GeoEngine.Core.GXNetXCVV
String VV with document names - colors
- Type: SystemString
Colour zone file to use - method
- Type: SystemInt32
Colour method to use - one of the ITR_ZONE_XXXX values - display
- Type: SystemInt32
<define>PROJ_DISPLAY</define>
Return Value
Type:
Int32
0 - Ok
1 - Error
Remarks
The passed file names must be valid Grid documents
with an extension and qualifiers (if applicable).
ALL grids must have the same extension and qualifier.
See Also