Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

VisioProtection

Namespace OfficeIMO.Visio
Assembly OfficeIMO.Visio

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.

Accepted by parameters 8

Constructors

public VisioProtection() #

Methods

public VisioProtection Clear() #
Returns: VisioProtection

Clears every explicit protection setting.

public VisioProtection Deletion(Boolean locked = true) #
Returns: VisioProtection

Locks or unlocks deletion.

Parameters

locked System.Boolean = true optionalposition: 0
public VisioProtection Endpoints(Boolean locked = true) #
Returns: VisioProtection

Locks or unlocks connector endpoints.

Parameters

locked System.Boolean = true optionalposition: 0
public VisioProtection Formatting(Boolean locked = true) #
Returns: VisioProtection

Locks or unlocks formatting.

Parameters

locked System.Boolean = true optionalposition: 0
public VisioProtection Position(Boolean locked = true) #
Returns: VisioProtection

Locks or unlocks shape position.

Parameters

locked System.Boolean = true optionalposition: 0
public VisioProtection Selection(Boolean locked = true) #
Returns: VisioProtection

Locks or unlocks selection.

Parameters

locked System.Boolean = true optionalposition: 0
public VisioProtection Size(Boolean locked = true) #
Returns: VisioProtection

Locks or unlocks shape size.

Parameters

locked System.Boolean = true optionalposition: 0
public VisioProtection Text(Boolean locked = true) #
Returns: VisioProtection

Locks or unlocks text editing.

Parameters

locked System.Boolean = true optionalposition: 0

Properties

public Boolean? LockWidth { get; set; } #

Locks the shape width.

public Boolean? LockHeight { get; set; } #

Locks the shape height.

public Boolean? LockAspect { get; set; } #

Locks the shape aspect ratio.

public Boolean? LockMoveX { get; set; } #

Locks horizontal movement.

public Boolean? LockMoveY { get; set; } #

Locks vertical movement.

public Boolean? LockDelete { get; set; } #

Prevents deleting the shape.

public Boolean? LockTextEdit { get; set; } #

Prevents editing the shape text.

public Boolean? LockFormat { get; set; } #

Prevents formatting changes.

public Boolean? LockGroup { get; set; } #

Prevents grouping the shape.

public Boolean? LockUngroup { get; set; } #

Prevents ungrouping the shape.

public Boolean? LockSelect { get; set; } #

Prevents selecting the shape.

public Boolean? LockRotate { get; set; } #

Locks shape rotation.

public Boolean? LockCrop { get; set; } #

Locks cropping operations.

public Boolean? LockVtxEdit { get; set; } #

Locks vertex editing.

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? LockThemeColors { get; set; } #

Locks theme color changes.

public Boolean? LockThemeEffects { get; set; } #

Locks theme effect changes.

public Boolean HasAnyLocks { get; } #

Gets whether any protection cell has been explicitly set.