Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

VisioProtection

OfficeIMO.Visio

Namespace
OfficeIMO.Visio
Assembly
OfficeIMO.Visio
Source revision
273d35d5ba8a with working tree changes

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.

Accepted by parameters 7

Constructors

public VisioProtection() #

Methods

public VisioProtection Clear() #

Clears every explicit protection setting.

public VisioProtection Deletion(bool locked = true) #

Locks or unlocks deletion.

Parameters

locked bool = true optional
public VisioProtection Endpoints(bool locked = true) #

Locks or unlocks connector endpoints.

Parameters

locked bool = true optional
public VisioProtection Formatting(bool locked = true) #

Locks or unlocks formatting.

Parameters

locked bool = true optional
public VisioProtection Position(bool locked = true) #

Locks or unlocks shape position.

Parameters

locked bool = true optional
public VisioProtection Selection(bool locked = true) #

Locks or unlocks selection.

Parameters

locked bool = true optional
public VisioProtection Size(bool locked = true) #

Locks or unlocks shape size.

Parameters

locked bool = true optional
public VisioProtection Text(bool locked = true) #

Locks or unlocks text editing.

Parameters

locked bool = true optional

Properties

public bool? LockWidth { get; set; } #

Locks the shape width.

public bool? LockHeight { get; set; } #

Locks the shape height.

public bool? LockAspect { get; set; } #

Locks the shape aspect ratio.

public bool? LockMoveX { get; set; } #

Locks horizontal movement.

public bool? LockMoveY { get; set; } #

Locks vertical movement.

public bool? LockDelete { get; set; } #

Prevents deleting the shape.

public bool? LockTextEdit { get; set; } #

Prevents editing the shape text.

public bool? LockFormat { get; set; } #

Prevents formatting changes.

public bool? LockGroup { get; set; } #

Prevents grouping the shape.

public bool? LockUngroup { get; set; } #

Prevents ungrouping the shape.

public bool? LockSelect { get; set; } #

Prevents selecting the shape.

public bool? LockRotate { get; set; } #

Locks shape rotation.

public bool? LockCrop { get; set; } #

Locks cropping operations.

public bool? LockVtxEdit { get; set; } #

Locks vertex editing.

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

Locks theme color changes.

public bool? LockThemeEffects { get; set; } #

Locks theme effect changes.

public bool HasAnyLocks { get; } #

Gets whether any protection cell has been explicitly set.