• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ShapeLocks

Granular locking flags that restrict how a shape can be edited in PowerPoint. Maps to the OOXML a:spLocks element inside a:spPr.

Inheritance
object
ShapeLocks
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Presentation.Drawing
Assembly: DRIT.Presentation.dll
Syntax
public class ShapeLocks

Constructors

ShapeLocks()

Initializes a new instance with all locks disabled.

Declaration
public ShapeLocks()

Properties

HasAnyLock

Gets whether any lock is enabled.

Declaration
public bool HasAnyLock { get; }
Property Value
Type Description
bool

NoAdjustHandles

Gets or sets whether the shape's adjust handles are disabled.

Declaration
public bool NoAdjustHandles { get; set; }
Property Value
Type Description
bool

NoChangeArrowheads

Gets or sets whether the shape's arrowheads cannot be changed.

Declaration
public bool NoChangeArrowheads { get; set; }
Property Value
Type Description
bool

NoChangeAspectRatio

Gets or sets whether the shape's aspect ratio is locked.

Declaration
public bool NoChangeAspectRatio { get; set; }
Property Value
Type Description
bool

NoChangeShapeType

Gets or sets whether the shape type cannot be changed.

Declaration
public bool NoChangeShapeType { get; set; }
Property Value
Type Description
bool

NoEditPoints

Gets or sets whether the shape's edit points are disabled.

Declaration
public bool NoEditPoints { get; set; }
Property Value
Type Description
bool

NoGroup

Gets or sets whether the shape cannot be grouped.

Declaration
public bool NoGroup { get; set; }
Property Value
Type Description
bool

NoMove

Gets or sets whether the shape cannot be moved.

Declaration
public bool NoMove { get; set; }
Property Value
Type Description
bool

NoResize

Gets or sets whether the shape cannot be resized.

Declaration
public bool NoResize { get; set; }
Property Value
Type Description
bool

NoRotate

Gets or sets whether the shape cannot be rotated.

Declaration
public bool NoRotate { get; set; }
Property Value
Type Description
bool

NoSelect

Gets or sets whether the shape cannot be selected.

Declaration
public bool NoSelect { get; set; }
Property Value
Type Description
bool

NoTextEdit

Gets or sets whether the shape's text cannot be edited.

Declaration
public bool NoTextEdit { get; set; }
Property Value
Type Description
bool
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX