[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IShape.Locked

Locked Property

Locked

Gets or sets whether the object is locked.

Returns true if the object is locked, or false if the object can be modified when the worksheet is protected.

Declaration
bool Locked { get; set; }
Property Locked As Boolean
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
shape.Locked = true;
bool locked = shape.Locked;