| Visual Basic | |
|---|---|
Function GetPathName() As System.String | |
| C# | |
|---|---|
System.string GetPathName() | |
| JavaScript | |
|---|---|
GetPathName() : String | |
Parameters
- PathName[out] or Return Value
- Path and file name of the document
This code snippet shows how to get the path and file name of the document (from the DraftSight API COM native C++ template file DsAddinDocument.cpp).
COM native C++
m_sDocName = m_DsDoc->GetPathName();
Get and Set Document Settings (C#)
Get and Set Document Settings (VB.NET)
Get and Set Document Settings (VBA)
Get and Set Document Settings (VB.NET)
Get and Set Document Settings (VBA)
DraftSight V1R1
Syntax