VisioProtection
OfficeIMO.Visio
ShapeSheet protection cells that control how a shape or connector can be edited in Visio.
Inheritance
- object
- VisioProtection
Derived Types
Usage
Explore 24 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 7
- Method VisioConnector.Protect
- Method VisioConnectorSelection.Protect
- Extension method VisioPage.ConnectorsWithProtection
- Extension method VisioPage.SelectConnectorsWithProtection
- Method VisioPage.ConnectorsWithProtection
- Method VisioPageQueryExtensions.ConnectorsWithProtection
- Method VisioPageQueryExtensions.SelectConnectorsWithProtection
Constructors
public VisioProtection() #Methods
public VisioProtection Deletion(bool locked = true) #Locks or unlocks deletion.
Parameters
- locked bool = true
Returns
VisioProtectionpublic VisioProtection Endpoints(bool locked = true) #Locks or unlocks connector endpoints.
Parameters
- locked bool = true
Returns
VisioProtectionpublic VisioProtection Formatting(bool locked = true) #Locks or unlocks formatting.
Parameters
- locked bool = true
Returns
VisioProtectionpublic VisioProtection Position(bool locked = true) #Locks or unlocks shape position.
Parameters
- locked bool = true
Returns
VisioProtectionpublic VisioProtection Selection(bool locked = true) #Locks or unlocks selection.
Parameters
- locked bool = true
Returns
VisioProtectionpublic VisioProtection Size(bool locked = true) #Locks or unlocks shape size.
Parameters
- locked bool = true
Returns
VisioProtectionpublic VisioProtection Text(bool locked = true) #Locks or unlocks text editing.
Parameters
- locked bool = true
Returns
VisioProtectionInherited Methods
Properties
public bool? LockBegin { get; set; } #Locks the begin endpoint for one-dimensional shapes.
public bool? LockEnd { get; set; } #Locks the end endpoint for one-dimensional shapes.
public bool? LockCalcWH { get; set; } #Locks recalculation of width and height.
public bool? LockCustProp { get; set; } #Locks custom properties / Shape Data editing.
public bool? LockFromGroupFormat { get; set; } #Locks formatting inherited from a group.
public bool HasAnyLocks { get; } #Gets whether any protection cell has been explicitly set.