Locked Property (ILayer) Send Feedback
See Also 
Gets or sets whether the Layer is locked.

Syntax

Visual Basic 
Property Locked As System.Boolean
C# 
System.bool Locked {get; set;}
JavaScript 
get_Locked () : Boolean
put_Locked (
   NewVal : Boolean
)
COM native C++ 
HRESULT get_Locked(
   VARIANT_BOOL* Val
) 
HRESULT put_Locked( 
   VARIANT_BOOL NewVal
C++ 
DSRESULT get_Locked (
   bool* Val
)
DSRESULT put_Locked(
   bool NewVal
)

Property Value

True if the Layer is locked, false if unlocked

Remarks

When:

  • a Layer is locked, you cannot edit the entities on that Layer. You can edit entities on unlocked Layers.
  • you lock the active Layer, you can create, but not modify, entities on it.

See Also

Availability

DraftSight V1R1.1