Gets the path and file name of the document.
.NET Syntax
| Visual Basic (Declaration) | |
|---|
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
Example
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();
Example
See Also
Availability
DraftSight V1R1