RemoveLayer Method (ILayerManager) Send Feedback
See Also 
Result[out]
True if the specified Layer was removed from the document, false if not
Name
Name of the Layer to remove
Removes the specified Layer from the document.

Syntax

Visual Basic 
Function RemoveLayer( _
   ByVal Name As System.String _
) As System.Boolean
C# 
System.bool RemoveLayer( 
   System.string Name
)
JavaScript 
RemoveLayer( 
   Name : String
) : Boolean
COM native C++ 
HRESULT RemoveLayer( 
   BSTR Name,
   VARIANT_BOOL* Result
) 
C++ 
DSRESULT RemoveLayer( 
   const dsString& Name,
   bool* Result
) 

Parameters

Name
Name of the Layer to remove
Result[out] or Return Value
True if the specified Layer was removed from the document, false if not
 

See Also

Availability

DraftSight V1R1.1