| Visual Basic | |
|---|---|
Function OpenDocument( _ ByVal PathName As System.String, _ ByVal Option As dsDocumentOpenOption_e _ ) As Document | |
| C# | |
|---|---|
Document OpenDocument( System.string PathName, dsDocumentOpenOption_e Option ) | |
| JavaScript | |
|---|---|
OpenDocument( PathName : String, Option : String ) : dsDocument | |
| COM native C++ | |
|---|---|
HRESULT OpenDocument( BSTR PathName, dsDocumentOpenOption_e Option, IDocument** Doc ) | |
| C++ | |
|---|---|
DSRESULT OpenDocument( const dsString& PathName, dsDocumentOpenOption_e Option, dsDocument** Doc ) | |
Parameters
- PathName
- Path and file name of document to open
- Option
- Mode in which to open the document as defined in dsDocumentOpenOption_e
- Doc[out] or Return Value
- Document
DraftSight V1R1
Syntax