AddCustomProperty Method (IDrawingProperties) Send Feedback
See Also 
Key
Name for the custom property
Value
Value for the custom property
Adds a custom property and its value to the drawing document.

Syntax

Visual Basic 
Sub AddCustomProperty( _
   ByVal Key As System.String, _
   ByVal Value As System.String _
) 
C# 
void AddCustomProperty( 
   System.string Key,
   System.string Value
)
JavaScript 
AddCustomProperty( 
   Key : String,
   Value : String
)
COM native C++ 
HRESULT AddCustomProperty( 
   BSTR Key,
   BSTR Value
) 
C++ 
DSRESULT AddCustomProperty( 
   const dsString& Key,
   const dsString& Value
) 

Parameters

Key
Name for the custom property
Value
Value for the custom property

Example

See the IDrawingProperties examples.
 

See Also

Availability

DraftSight V1R5.0