CreateLayer Method (ILayerManager) Send Feedback
See Also  Example
Name
Name
Layer[out]
Layer
Result[out]
Status of creating the Layer as defined in dsCreateObjectResult_e
Creates a Layer in the document.

Syntax

Visual Basic 
Sub CreateLayer( _
   ByVal Name As System.String, _
   ByRef Layer As Layer, _
   ByRef Result As dsCreateObjectResult_e _
) 
C# 
void CreateLayer( 
   System.string Name,
   out Layer Layer,
   out dsCreateObjectResult_e Result
)
JavaScript 
CreateLayer( 
   Name : String
) : {
   Layer : dsLayer,
   Result : String
}
COM native C++ 
HRESULT CreateLayer( 
   BSTR Name,
   ILayer** Layer,
   dsCreateObjectResult_e* Result
) 
C++ 
DSRESULT CreateLayer( 
   const dsString& Name,
   dsLayer** Layer,
   dsCreateObjectResult_e* Result
) 

Parameters

Name
Name
Layer[out]
Layer
Result[out] or Return Value
Status of creating the Layer as defined in dsCreateObjectResult_e

Example

 

See Also

Availability

DraftSight V1R1.1