 | CPROJiRemoveDocument Method |
Removes (and closes if visible) a document from the current project.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int iRemoveDocument(
string name
)
public static int iRemoveDocument(
string name
)
Public Shared Function iRemoveDocument (
name As String
) As Integer
Public Shared Function iRemoveDocument (
name As String
) As Integer
public:
static int iRemoveDocument(
String^ name
)
public:
static int iRemoveDocument(
String^ name
)
static member iRemoveDocument :
name : string -> int
static member iRemoveDocument :
name : string -> int
Parameters
- 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