SetCustomData Method (IEntityHelper) Send Feedback
See Also 
Obj
Entity
ApplicationName
Name of the custom data's registered application (see Remarks)
CustomData
Custom data
Sets the specified custom data for the specified entity.

Syntax

Visual Basic 
Sub SetCustomData( _
   ByVal Obj As System.Object, _
   ByVal ApplicationName As System.String, _
   ByVal CustomData As CustomData _
) 
C# 
void SetCustomData( 
   System.object Obj,
   System.string ApplicationName,
   CustomData CustomData
)
JavaScript 
SetCustomData( 
   Obj : Object,
   ApplicationName : String,
   CustomData : dsCustomData
)
COM native C++ 
HRESULT SetCustomData( 
   IDispatch* Obj,
   BSTR ApplicationName,
   ICustomData* CustomData
) 
C++ 
DSRESULT SetCustomData( 
   dsObject* Obj,
   const dsString& ApplicationName,
   dsCustomData* CustomData
) 

Parameters

Obj
Entity
ApplicationName
Name of the custom data's registered application (see Remarks)
CustomData
Custom data

Remarks

Call IDocument::GetRegisteredApplications to find out the names of the document's existing custom data.
 

See Also

Availability

DraftSight V1R3.0