CloseDocument Method (IApplication)
Closes the specified document.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub CloseDocument( _
BSTR PathName As System.String, _
VARIANT_BOOL SaveChanges As System.Boolean _
) |
Parameters
- PathName
- Path and file name of the document to close
- SaveChanges
- True to save the changes made to the specified document, false to discard the changes
Example
See Also
Availability
DraftSight V1R1