API Reference
VisioProtection
ShapeSheet protection cells that control how a shape or connector can be edited in Visio.
Inheritance
- Object
- VisioProtection
Usage
Explore 25 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 17
- 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 8
- Method VisioFluentConnector.Protect
- Method VisioFluentPage.ConnectorsWithProtection
- 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
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public Boolean? LockTextEdit { get; set; } #Prevents editing the shape text.
public Boolean? LockBegin { get; set; } #Locks the begin endpoint for one-dimensional shapes.
public Boolean? LockEnd { get; set; } #Locks the end endpoint for one-dimensional shapes.
public Boolean? LockCalcWH { get; set; } #Locks recalculation of width and height.
public Boolean? LockCustProp { get; set; } #Locks custom properties / Shape Data editing.
public Boolean? LockFromGroupFormat { get; set; } #Locks formatting inherited from a group.
public Boolean? LockThemeEffects { get; set; } #Locks theme effect changes.
public Boolean HasAnyLocks { get; } #Gets whether any protection cell has been explicitly set.