| Visual Basic | |
|---|---|
Property PathName As System.String | |
| C# | |
|---|---|
System.string PathName {get; set;} | |
| JavaScript | |
|---|---|
get_PathName () : String put_PathName ( NewVal : String ) | |
Property Value
Path of the external referenceThis code snippet shows how to get the external references and their names and paths.
COM native C++
_variant_t pVariantArray = dsDoc->GetExternalReferences();
if( V_VT( &pVariantArray ) != VT_EMPTY )
{
IExternalReferencePtr *ExtRef = NULL;
int countOfExtRef = 0;
TypeConverter::convertVariantArrayToPtrArray<IExternalReferencePtr, IExternalReference>( pVariantArray, ExtRef, countOfExtRef );bstr_t xRefPath = ExtRef[i]->GetPathName();
}
delete[] ExtRef;
DraftSight V1R1
Syntax