 | CPROJiRemoveDocument Method |
Removes (and closes if visible) a document from the current project.
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntaxpublic static int iRemoveDocument(
CGXNETCore gxNetShared,
string name
)
public static int iRemoveDocument(
CGXNETCore gxNetShared,
string name
)
Public Shared Function iRemoveDocument (
gxNetShared As CGXNETCore,
name As String
) As Integer
Public Shared Function iRemoveDocument (
gxNetShared As CGXNETCore,
name As String
) As Integer
public:
static int iRemoveDocument(
CGXNETCore^ gxNetShared,
String^ name
)
public:
static int iRemoveDocument(
CGXNETCore^ gxNetShared,
String^ name
)
static member iRemoveDocument :
gxNetShared : CGXNETCore *
name : string -> int
static member iRemoveDocument :
gxNetShared : CGXNETCore *
name : string -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - name
- Type: SystemString
Document name
Return Value
Type:
Int32
0 - Ok
1 - Document not found in project
Remarks
The passed file name must be a valid
file name complete with an extension and
qualifiers (if applicable).
See Also