GetHandleFromObject Method (IDocument) Send Feedback
See Also 
Handle[out]
Handle; empty string if Obj is not a valid DraftSight API object
Obj
Object for which to get a handle
Gets the handle of the specified object.

Syntax

Visual Basic 
Function GetHandleFromObject( _
   ByVal Obj As System.Object _
) As System.String
C# 
System.string GetHandleFromObject( 
   System.object Obj
)
JavaScript 
GetHandleFromObject( 
   Obj : Object
) : String
COM native C++ 
HRESULT GetHandleFromObject( 
   IDispatch* Obj,
   BSTR* Handle
) 
C++ 
DSRESULT GetHandleFromObject( 
   dsObject* Obj,
   dsString* Handle
) 

Parameters

Obj
Object for which to get a handle
Handle[out] or Return Value
Handle; empty string if Obj is not a valid DraftSight API object
 

See Also

Availability

DraftSight V1R1.4