SetLayerName Method (ICustomData) Send Feedback
See Also  Example
Index
Index of the custom data element
Value
Name of a Layer
Sets the specified custom data element whose value is the name of a Layer.

Syntax

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

Parameters

Index
Index of the custom data element
Value
Name of a Layer

Example

Remarks

Call ICustomData::GetDataCount before calling this method to determine a valid value for Index.
 

See Also

Availability

DraftSight V1R1.2