SetCustomPropertyAt Method (IDrawingProperties) Send Feedback
See Also 
Index
Index of the custom property whose value to change (see Remarks)
Value
Value for the custom property
Changes the value of the custom property, which was previously added to this drawing document, at the specified index.

Syntax

Visual Basic 
Sub SetCustomPropertyAt( _
   ByVal Index As System.Integer, _
   ByVal Value As System.String _
) 
C# 
void SetCustomPropertyAt( 
   System.int Index,
   System.string Value
)
JavaScript 
SetCustomPropertyAt( 
   Index : Number,
   Value : String
)
COM native C++ 
HRESULT SetCustomPropertyAt( 
   LONG Index,
   BSTR Value
) 
C++ 
DSRESULT SetCustomPropertyAt( 
   long Index,
   const dsString& Value
) 

Parameters

Index
Index of the custom property whose value to change (see Remarks)
Value
Value for the custom property

Example

See the IDrawingProperties examples.

Remarks

Before calling this method, call IDrawingProperties::GetCustomPropertyCount to get a valid value for Index.
 

See Also

Availability

DraftSight V1R5.0