Gets the path and file name of the document.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetPathName() As System.String |
C# | |
---|
System.string GetPathName() |
JScript | |
---|
function GetPathName() : System.String; |
Managed Extensions for C++ | |
---|
System.string* GetPathName(); |
C++/CLI | |
---|
System.String^ GetPathName(); |
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