API Reference
VisioProtection
ShapeSheet protection cells that control how a shape or connector can be edited in Visio.
Inheritance
- Object
- VisioProtection
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property VisioConnector.Protection
- Method VisioProtection.Clear
- Method VisioProtection.Deletion
- Method VisioProtection.Endpoints
- Method VisioProtection.Formatting
- Method VisioProtection.Position
- Method VisioProtection.Selection
- Method VisioProtection.Size
- Method VisioProtection.Text
- Method VisioShapeProtection.Clear
- Method VisioShapeProtection.Deletion
- Method VisioShapeProtection.Endpoints
- Method VisioShapeProtection.Formatting
- Method VisioShapeProtection.Position
- Method VisioShapeProtection.Selection
- Method VisioShapeProtection.Size
- Method VisioShapeProtection.Text
Accepted by parameters
- Method VisioFluentConnector.Protect
- Method VisioConnector.Protect
- Method VisioConnectorSelection.Protect
- Extension method VisioPage.ConnectorsWithProtection
- Extension method VisioPage.SelectConnectorsWithProtection
- Method VisioPageQueryExtensions.ConnectorsWithProtection
- Method VisioPageQueryExtensions.SelectConnectorsWithProtection
Constructors
public VisioProtection() #Methods
public VisioProtection Deletion(Boolean locked = true) #VisioProtectionLocks or unlocks deletion.
Parameters
- locked System.Boolean = true
public VisioProtection Endpoints(Boolean locked = true) #VisioProtectionLocks or unlocks connector endpoints.
Parameters
- locked System.Boolean = true
public VisioProtection Formatting(Boolean locked = true) #VisioProtectionLocks or unlocks formatting.
Parameters
- locked System.Boolean = true
public VisioProtection Position(Boolean locked = true) #VisioProtectionLocks or unlocks shape position.
Parameters
- locked System.Boolean = true
public VisioProtection Selection(Boolean locked = true) #VisioProtectionLocks or unlocks selection.
Parameters
- locked System.Boolean = true
public VisioProtection Size(Boolean locked = true) #VisioProtectionLocks or unlocks shape size.
Parameters
- locked System.Boolean = true
public VisioProtection Text(Boolean locked = true) #VisioProtectionLocks or unlocks text editing.
Parameters
- locked System.Boolean = true
Inherited Methods
Properties
public Nullable<Boolean> LockWidth { get; set; } #Locks the shape width.
public Nullable<Boolean> LockHeight { get; set; } #Locks the shape height.
public Nullable<Boolean> LockAspect { get; set; } #Locks the shape aspect ratio.
public Nullable<Boolean> LockMoveX { get; set; } #Locks horizontal movement.
public Nullable<Boolean> LockMoveY { get; set; } #Locks vertical movement.
public Nullable<Boolean> LockDelete { get; set; } #Prevents deleting the shape.
public Nullable<Boolean> LockTextEdit { get; set; } #Prevents editing the shape text.
public Nullable<Boolean> LockFormat { get; set; } #Prevents formatting changes.
public Nullable<Boolean> LockGroup { get; set; } #Prevents grouping the shape.
public Nullable<Boolean> LockUngroup { get; set; } #Prevents ungrouping the shape.
public Nullable<Boolean> LockSelect { get; set; } #Prevents selecting the shape.
public Nullable<Boolean> LockRotate { get; set; } #Locks shape rotation.
public Nullable<Boolean> LockCrop { get; set; } #Locks cropping operations.
public Nullable<Boolean> LockVtxEdit { get; set; } #Locks vertex editing.
public Nullable<Boolean> LockBegin { get; set; } #Locks the begin endpoint for one-dimensional shapes.
public Nullable<Boolean> LockEnd { get; set; } #Locks the end endpoint for one-dimensional shapes.
public Nullable<Boolean> LockCalcWH { get; set; } #Locks recalculation of width and height.
public Nullable<Boolean> LockCustProp { get; set; } #Locks custom properties / Shape Data editing.
public Nullable<Boolean> LockFromGroupFormat { get; set; } #Locks formatting inherited from a group.
public Nullable<Boolean> LockThemeColors { get; set; } #Locks theme color changes.
public Nullable<Boolean> LockThemeEffects { get; set; } #Locks theme effect changes.
public Boolean HasAnyLocks { get; } #Gets whether any protection cell has been explicitly set.