Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

VisioProtectionFluent

OfficeIMO.Visio

Namespace
OfficeIMO.Visio
Assembly
OfficeIMO.Visio
Modifiers
static

The fluent methods of VisioProtection, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • VisioProtectionFluent

Methods

public static TSelf LockAspect<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockAspect: Locks the shape aspect ratio.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockAspect = value };    visioProtection.LockAspect(value);
public static TSelf LockBegin<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockBegin: Locks the begin endpoint for one-dimensional shapes.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockBegin = value };    visioProtection.LockBegin(value);
public static TSelf LockCalcWH<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockCalcWH: Locks recalculation of width and height.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockCalcWH = value };    visioProtection.LockCalcWH(value);
public static TSelf LockCrop<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockCrop: Locks cropping operations.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockCrop = value };    visioProtection.LockCrop(value);
public static TSelf LockCustProp<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockCustProp: Locks custom properties / Shape Data editing.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockCustProp = value };    visioProtection.LockCustProp(value);
public static TSelf LockDelete<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockDelete: Prevents deleting the shape.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockDelete = value };    visioProtection.LockDelete(value);
public static TSelf LockEnd<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockEnd: Locks the end endpoint for one-dimensional shapes.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockEnd = value };    visioProtection.LockEnd(value);
public static TSelf LockFormat<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockFormat: Prevents formatting changes.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockFormat = value };    visioProtection.LockFormat(value);
public static TSelf LockFromGroupFormat<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockFromGroupFormat: Locks formatting inherited from a group.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockFromGroupFormat = value };    visioProtection.LockFromGroupFormat(value);
public static TSelf LockGroup<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockGroup: Prevents grouping the shape.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockGroup = value };    visioProtection.LockGroup(value);
public static TSelf LockHeight<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockHeight: Locks the shape height.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockHeight = value };    visioProtection.LockHeight(value);
public static TSelf LockMoveX<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockMoveX: Locks horizontal movement.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockMoveX = value };    visioProtection.LockMoveX(value);
public static TSelf LockMoveY<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockMoveY: Locks vertical movement.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockMoveY = value };    visioProtection.LockMoveY(value);
public static TSelf LockRotate<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockRotate: Locks shape rotation.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockRotate = value };    visioProtection.LockRotate(value);
public static TSelf LockSelect<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockSelect: Prevents selecting the shape.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockSelect = value };    visioProtection.LockSelect(value);
public static TSelf LockTextEdit<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockTextEdit: Prevents editing the shape text.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockTextEdit = value };    visioProtection.LockTextEdit(value);
public static TSelf LockThemeColors<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockThemeColors: Locks theme color changes.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockThemeColors = value };    visioProtection.LockThemeColors(value);
public static TSelf LockThemeEffects<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockThemeEffects: Locks theme effect changes.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockThemeEffects = value };    visioProtection.LockThemeEffects(value);
public static TSelf LockUngroup<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockUngroup: Prevents ungrouping the shape.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockUngroup = value };    visioProtection.LockUngroup(value);
public static TSelf LockVtxEdit<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockVtxEdit: Locks vertex editing.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockVtxEdit = value };    visioProtection.LockVtxEdit(value);
public static TSelf LockWidth<TSelf>(TSelf visioProtection, bool? value = true) #

Sets VisioProtection.LockWidth: Locks the shape width.

Type Parameters

TSelf

Parameters

visioProtection TSelf required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Visio.VisioProtection { LockWidth = value };    visioProtection.LockWidth(value);