| CPROJiRemoveDocument Method |
Removes (and closes if visible) a document from the current project.
Available since Oasis montaj version: 5.0.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.
License: Available to anyone.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
The passed file name must be a valid
file name complete with an extension and
qualifiers (if applicable).
Syntax public static int iRemoveDocument(
string str1
)
Public Shared Function iRemoveDocument (
str1 As String
) As Integer
public:
static int iRemoveDocument(
String^ str1
)
static member iRemoveDocument :
str1 : string -> int
Parameters
- str1
- Type: SystemString
Document name
Return Value
Type:
Int32
0 - Ok
1 - Document not found in project
See Also