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

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

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 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.