# VisioPageFluent

The fluent methods of VisioPage, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Visio`

**Namespace**

`OfficeIMO.Visio`

**Assembly**

`OfficeIMO.Visio`

**Modifiers**

static

The fluent methods of [VisioPage](/api/visio/officeimo-visio-visiopage/), 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
- VisioPageFluent

Filter members 

Show inherited

## Methods

`public static TSelf AllowShapeSplitting<TSelf>(TSelf visioPage, bool value = true)` [#](#method-allowshapesplitting-boolean)

Sets [VisioPage.AllowShapeSplitting](/api/visio/officeimo-visio-visiopage/): Gets or sets whether Visio can automatically split shapes on this page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property             // C# fluent
visioPage.AllowShapeSplitting = value;    visioPage.AllowShapeSplitting(value);
```

`public static TSelf AutoResizeDrawing<TSelf>(TSelf visioPage, bool enabled = true)` [#](#method-autoresizedrawing-boolean)

Enables or disables automatic page resizing to fit the diagram.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**enabled bool = true optional**

Whether automatic drawing resize is enabled.

Returns

`TSelf` The same instance.

BackgroundPage``1 2 overloads

`public static TSelf BackgroundPage<TSelf>(TSelf visioPage, VisioPage backgroundPage)` [#](#method-backgroundpage-officeimo-visio-visiopage)

Applies a reusable Visio background page to this page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**backgroundPage OfficeIMO.Visio.VisioPage required**

Background page to apply.

Returns

`TSelf` The same instance.

`public static TSelf BackgroundPage<TSelf>(TSelf visioPage, Action<VisioPage> configure)` [#](#method-backgroundpage-action-officeimo-visio-visiopage)

Configures [VisioPage.BackgroundPage](/api/visio/officeimo-visio-visiopage/) in place: Gets the background page applied to this foreground page, if any.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**configure System.Action<OfficeIMO.Visio.VisioPage> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf Background<TSelf>(TSelf visioPage, bool value = true)` [#](#method-background-boolean)

Sets [VisioPage.IsBackground](/api/visio/officeimo-visio-visiopage/): Gets or sets whether this page is a Visio background page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property      // C# fluent
visioPage.IsBackground = value;    visioPage.Background(value);
```

`public static TSelf Comments<TSelf>(TSelf visioPage, IEnumerable<VisioComment> items)` [#](#method-comments-collections-generic-ienumerable-officeimo-visio-visiocomment)

Adds items to [VisioPage.Comments](/api/visio/officeimo-visio-visiopage/): Native Visio comments attached to this page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**items System.Collections.Generic.IEnumerable<OfficeIMO.Visio.VisioComment> required**

The items, in order.

Returns

`TSelf` The same instance.

`public static TSelf Comment<TSelf>(TSelf visioPage, VisioComment item)` [#](#method-comment-officeimo-visio-visiocomment)

Adds an item to [VisioPage.Comments](/api/visio/officeimo-visio-visiopage/): Native Visio comments attached to this page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**item OfficeIMO.Visio.VisioComment required**

The item.

Returns

`TSelf` The same instance.

ConnectorRouteAppearance``1 2 overloads

`public static TSelf ConnectorRouteAppearance<TSelf>(TSelf visioPage, VisioLineRouteExtension appearance)` [#](#method-connectorrouteappearance-officeimo-visio-visiolinerouteextension)

Sets the default appearance for routed connectors on this page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**appearance OfficeIMO.Visio.VisioLineRouteExtension required**

Default routed connector appearance.

Returns

`TSelf` The same instance.

`public static TSelf ConnectorRouteAppearance<TSelf>(TSelf visioPage, VisioLineRouteExtension? value)` [#](#method-connectorrouteappearance-nullable-officeimo-visio-visiolinerouteextension)

Sets [VisioPage.ConnectorRouteAppearance](/api/visio/officeimo-visio-visiopage/): Gets or sets the default routed connector appearance on this page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value OfficeIMO.Visio.VisioLineRouteExtension? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                  // C# fluent
visioPage.ConnectorRouteAppearance = value;    visioPage.ConnectorRouteAppearance(value);
```

ConnectorRouteStyle``1 2 overloads

`public static TSelf ConnectorRouteStyle<TSelf>(TSelf visioPage, VisioPageRouteStyle style)` [#](#method-connectorroutestyle-officeimo-visio-visiopageroutestyle)

Sets Visio's page-level connector routing style.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**style OfficeIMO.Visio.VisioPageRouteStyle required**

Routing style to use for connectors without local routing.

Returns

`TSelf` The same instance.

`public static TSelf ConnectorRouteStyle<TSelf>(TSelf visioPage, VisioPageRouteStyle? value)` [#](#method-connectorroutestyle-nullable-officeimo-visio-visiopageroutestyle)

Sets [VisioPage.ConnectorRouteStyle](/api/visio/officeimo-visio-visiopage/): Gets or sets the page-level routing style for connectors without a local routing style.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value OfficeIMO.Visio.VisioPageRouteStyle? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property             // C# fluent
visioPage.ConnectorRouteStyle = value;    visioPage.ConnectorRouteStyle(value);
```

ConnectorSpacing``1 2 overloads

`public static TSelf ConnectorSpacing<TSelf>(TSelf visioPage, double lineToLine, double lineToNode, VisioMeasurementUnit unit = Inches)` [#](#method-connectorspacing-double-double-officeimo-visio-visiomeasurementunit)

Sets page-level connector and connector-to-shape spacing used by Visio routing.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**lineToLine double required**

Horizontal and vertical connector-to-connector clearance.

**lineToNode double required**

Horizontal and vertical connector-to-shape clearance.

**unit OfficeIMO.Visio.VisioMeasurementUnit = Inches optional**

Measurement unit for the provided values.

Returns

`TSelf` The same instance.

`public static TSelf ConnectorSpacing<TSelf>(TSelf visioPage, double lineToLineX, double lineToLineY, double lineToNodeX, double lineToNodeY, VisioMeasurementUnit unit = Inches)` [#](#method-connectorspacing-double-double-double-double-officeimo-visio-visiomeasurementunit)

Sets individual page-level connector routing clearances used by Visio.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**lineToLineX double required**

Horizontal connector-to-connector clearance.

**lineToLineY double required**

Vertical connector-to-connector clearance.

**lineToNodeX double required**

Horizontal connector-to-shape clearance.

**lineToNodeY double required**

Vertical connector-to-shape clearance.

**unit OfficeIMO.Visio.VisioMeasurementUnit = Inches optional**

Measurement unit for the provided values.

Returns

`TSelf` The same instance.

`public static TSelf Connectors<TSelf>(TSelf visioPage, IEnumerable<VisioConnector> items)` [#](#method-connectors-collections-generic-ienumerable-officeimo-visio-visioconnector)

Adds items to [VisioPage.Connectors](/api/visio/officeimo-visio-visiopage/): Connectors placed on the page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**items System.Collections.Generic.IEnumerable<OfficeIMO.Visio.VisioConnector> required**

The items, in order.

Returns

`TSelf` The same instance.

`public static TSelf Connector<TSelf>(TSelf visioPage, VisioConnector item)` [#](#method-connector-officeimo-visio-visioconnector)

Adds an item to [VisioPage.Connectors](/api/visio/officeimo-visio-visiopage/): Connectors placed on the page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**item OfficeIMO.Visio.VisioConnector required**

The item.

Returns

`TSelf` The same instance.

`public static TSelf DefaultUnit<TSelf>(TSelf visioPage, VisioMeasurementUnit value)` [#](#method-defaultunit-officeimo-visio-visiomeasurementunit)

Sets [VisioPage.DefaultUnit](/api/visio/officeimo-visio-visiopage/): Native measurement unit for drawing scale and imported ShapeSheet values. Public geometry uses explicit OfficeLength values.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value OfficeIMO.Visio.VisioMeasurementUnit required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property     // C# fluent
visioPage.DefaultUnit = value;    visioPage.DefaultUnit(value);
```

`public static TSelf DrawingScale<TSelf>(TSelf visioPage, VisioScaleSetting value)` [#](#method-drawingscale-officeimo-visio-visioscalesetting)

Sets [VisioPage.DrawingScale](/api/visio/officeimo-visio-visiopage/): Gets or sets the drawing scale (the ratio between drawing units and real-world units).

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value OfficeIMO.Visio.VisioScaleSetting required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property      // C# fluent
visioPage.DrawingScale = value;    visioPage.DrawingScale(value);
```

`public static TSelf DrawingSizeType<TSelf>(TSelf visioPage, VisioDrawingSizeType value)` [#](#method-drawingsizetype-officeimo-visio-visiodrawingsizetype)

Sets [VisioPage.DrawingSizeType](/api/visio/officeimo-visio-visiopage/): Gets or sets how Visio determines this page's drawing size.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value OfficeIMO.Visio.VisioDrawingSizeType required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property         // C# fluent
visioPage.DrawingSizeType = value;    visioPage.DrawingSizeType(value);
```

`public static TSelf DrawingSize<TSelf>(TSelf visioPage, VisioDrawingSizeType sizeType)` [#](#method-drawingsize-officeimo-visio-visiodrawingsizetype)

Sets how Visio determines the drawing page size.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**sizeType OfficeIMO.Visio.VisioDrawingSizeType required**

Drawing size behavior.

Returns

`TSelf` The same instance.

`public static TSelf EnableLayoutGrid<TSelf>(TSelf visioPage, bool? value = true)` [#](#method-enablelayoutgrid-nullable-system-boolean)

Sets [VisioPage.EnableLayoutGrid](/api/visio/officeimo-visio-visiopage/): Gets or sets whether Visio uses its internal layout grid when arranging shapes on this page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property          // C# fluent
visioPage.EnableLayoutGrid = value;    visioPage.EnableLayoutGrid(value);
```

`public static TSelf GridVisible<TSelf>(TSelf visioPage, bool value = true)` [#](#method-gridvisible-boolean)

Sets [VisioPage.GridVisible](/api/visio/officeimo-visio-visiopage/): Gets or sets a value indicating whether the grid is visible.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property     // C# fluent
visioPage.GridVisible = value;    visioPage.GridVisible(value);
```

`public static TSelf Height<TSelf>(TSelf visioPage, OfficeLength value)` [#](#method-height-officeimo-officelength)

Sets [VisioPage.Height](/api/visio/officeimo-visio-visiopage/): Gets or sets the physical Height.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
visioPage.Height = value;        visioPage.Height(value);
```

`public static TSelf HorizontalLineJumpDirection<TSelf>(TSelf visioPage, VisioHorizontalLineJumpDirection? value)` [#](#method-horizontallinejumpdirection-nullable-officeimo-visio-visiohorizontallinejumpdirection)

Sets [VisioPage.HorizontalLineJumpDirection](/api/visio/officeimo-visio-visiopage/): Gets or sets the page default line jump direction for horizontal dynamic connectors.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value OfficeIMO.Visio.VisioHorizontalLineJumpDirection? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                     // C# fluent
visioPage.HorizontalLineJumpDirection = value;    visioPage.HorizontalLineJumpDirection(value);
```

`public static TSelf Layers<TSelf>(TSelf visioPage, IEnumerable<VisioLayer> items)` [#](#method-layers-collections-generic-ienumerable-officeimo-visio-visiolayer)

Adds items to [VisioPage.Layers](/api/visio/officeimo-visio-visiopage/): Layers defined on this page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**items System.Collections.Generic.IEnumerable<OfficeIMO.Visio.VisioLayer> required**

The items, in order.

Returns

`TSelf` The same instance.

`public static TSelf Layer<TSelf>(TSelf visioPage, VisioLayer item)` [#](#method-layer-officeimo-visio-visiolayer)

Adds an item to [VisioPage.Layers](/api/visio/officeimo-visio-visiopage/): Layers defined on this page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**item OfficeIMO.Visio.VisioLayer required**

The item.

Returns

`TSelf` The same instance.

LayoutGridSizing``1 2 overloads

`public static TSelf LayoutGridSizing<TSelf>(TSelf visioPage, double blockSize, double avenueSize, VisioMeasurementUnit unit = Inches)` [#](#method-layoutgridsizing-double-double-officeimo-visio-visiomeasurementunit)

Sets Visio layout grid block sizes and spacing values.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**blockSize double required**

Horizontal and vertical average shape block size.

**avenueSize double required**

Horizontal and vertical spacing between shapes.

**unit OfficeIMO.Visio.VisioMeasurementUnit = Inches optional**

Measurement unit for the provided values.

Returns

`TSelf` The same instance.

`public static TSelf LayoutGridSizing<TSelf>(TSelf visioPage, double blockSizeX, double blockSizeY, double avenueSizeX, double avenueSizeY, VisioMeasurementUnit unit = Inches)` [#](#method-layoutgridsizing-double-double-double-double-officeimo-visio-visiomeasurementunit)

Sets individual Visio layout grid block sizes and spacing values.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**blockSizeX double required**

Horizontal average shape block size.

**blockSizeY double required**

Vertical average shape block size.

**avenueSizeX double required**

Horizontal spacing between shapes.

**avenueSizeY double required**

Vertical spacing between shapes.

**unit OfficeIMO.Visio.VisioMeasurementUnit = Inches optional**

Measurement unit for the provided values.

Returns

`TSelf` The same instance.

`public static TSelf LineJumpCode<TSelf>(TSelf visioPage, VisioLineJumpCode? value)` [#](#method-linejumpcode-nullable-officeimo-visio-visiolinejumpcode)

Sets [VisioPage.LineJumpCode](/api/visio/officeimo-visio-visiopage/): Gets or sets which connectors receive line jumps on this page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value OfficeIMO.Visio.VisioLineJumpCode? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property      // C# fluent
visioPage.LineJumpCode = value;    visioPage.LineJumpCode(value);
```

`public static TSelf LineJumpStyle<TSelf>(TSelf visioPage, VisioLineJumpStyle? value)` [#](#method-linejumpstyle-nullable-officeimo-visio-visiolinejumpstyle)

Sets [VisioPage.LineJumpStyle](/api/visio/officeimo-visio-visiopage/): Gets or sets the line jump style for connectors without a local jump style.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value OfficeIMO.Visio.VisioLineJumpStyle? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property       // C# fluent
visioPage.LineJumpStyle = value;    visioPage.LineJumpStyle(value);
```

`public static TSelf LineJumps<TSelf>(TSelf visioPage, VisioLineJumpStyle style, VisioLineJumpCode code, VisioHorizontalLineJumpDirection horizontalDirection = Default, VisioVerticalLineJumpDirection verticalDirection = Default)` [#](#method-linejumps-officeimo-visio-visiolinejumpstyle-officeimo-visio-visiolinejumpcode-officeimo-visio-visiohorizontallinejumpdirection-officeimo-visio-visioverticallinejumpdirection)

Sets the default line jump behavior for this page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**style OfficeIMO.Visio.VisioLineJumpStyle required**

Line jump style.

**code OfficeIMO.Visio.VisioLineJumpCode required**

Which connectors receive line jumps.

**horizontalDirection OfficeIMO.Visio.VisioHorizontalLineJumpDirection = Default optional**

Default jump direction for horizontal dynamic connectors.

**verticalDirection OfficeIMO.Visio.VisioVerticalLineJumpDirection = Default optional**

Default jump direction for vertical dynamic connectors.

Returns

`TSelf` The same instance.

`public static TSelf LockDuplicate<TSelf>(TSelf visioPage, bool locked = true)` [#](#method-lockduplicate-boolean)

Locks or unlocks page duplication.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**locked bool = true optional**

Whether duplication is locked.

Returns

`TSelf` The same instance.

`public static TSelf LockReplace<TSelf>(TSelf visioPage, bool locked = true)` [#](#method-lockreplace-boolean)

Locks or unlocks page replacement.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**locked bool = true optional**

Whether replacement is locked.

Returns

`TSelf` The same instance.

Margins``1 3 overloads

`public static TSelf Margins<TSelf>(TSelf visioPage, OfficeLength margin)` [#](#method-margins-officeimo-officelength)

Applies physical lengths to the native Visio geometry.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**margin OfficeIMO.OfficeLength required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf Margins<TSelf>(TSelf visioPage, OfficeLength horizontal, OfficeLength vertical)` [#](#method-margins-officeimo-officelength-officeimo-officelength)

Applies physical lengths to the native Visio geometry.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**horizontal OfficeIMO.OfficeLength required**

The value.

**vertical OfficeIMO.OfficeLength required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf Margins<TSelf>(TSelf visioPage, OfficeLength left, OfficeLength right, OfficeLength top, OfficeLength bottom)` [#](#method-margins-officeimo-officelength-officeimo-officelength-officeimo-officelength-officeimo-officelength)

Applies physical lengths to the native Visio geometry.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**left OfficeIMO.OfficeLength required**

The value.

**right OfficeIMO.OfficeLength required**

The value.

**top OfficeIMO.OfficeLength required**

The value.

**bottom OfficeIMO.OfficeLength required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf MoveShapesAwayOnDrop<TSelf>(TSelf visioPage, bool? value = true)` [#](#method-moveshapesawayondrop-nullable-system-boolean)

Sets [VisioPage.MoveShapesAwayOnDrop](/api/visio/officeimo-visio-visiopage/): Gets or sets whether Visio should move nearby placeable shapes away when dropping a shape.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property              // C# fluent
visioPage.MoveShapesAwayOnDrop = value;    visioPage.MoveShapesAwayOnDrop(value);
```

`public static TSelf NameU<TSelf>(TSelf visioPage, string? value)` [#](#method-nameu-string)

Sets [VisioPage.NameU](/api/visio/officeimo-visio-visiopage/): Gets or sets the universal name of the page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
visioPage.NameU = value;         visioPage.NameU(value);
```

`public static TSelf PageLockDuplicate<TSelf>(TSelf visioPage, bool value = true)` [#](#method-pagelockduplicate-boolean)

Sets [VisioPage.PageLockDuplicate](/api/visio/officeimo-visio-visiopage/): Gets or sets whether Visio should prevent duplicating this page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property           // C# fluent
visioPage.PageLockDuplicate = value;    visioPage.PageLockDuplicate(value);
```

`public static TSelf PageLockReplace<TSelf>(TSelf visioPage, bool value = true)` [#](#method-pagelockreplace-boolean)

Sets [VisioPage.PageLockReplace](/api/visio/officeimo-visio-visiopage/): Gets or sets whether Visio should prevent replacing this page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property         // C# fluent
visioPage.PageLockReplace = value;    visioPage.PageLockReplace(value);
```

`public static TSelf PageScale<TSelf>(TSelf visioPage, VisioScaleSetting value)` [#](#method-pagescale-officeimo-visio-visioscalesetting)

Sets [VisioPage.PageScale](/api/visio/officeimo-visio-visiopage/): Gets or sets the page scale (the ratio between page units and real-world units).

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value OfficeIMO.Visio.VisioScaleSetting required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
visioPage.PageScale = value;     visioPage.PageScale(value);
```

PlacementDepth``1 2 overloads

`public static TSelf PlacementDepth<TSelf>(TSelf visioPage, VisioPlacementDepth depth)` [#](#method-placementdepth-officeimo-visio-visioplacementdepth)

Sets Visio's page-level placement analysis depth.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**depth OfficeIMO.Visio.VisioPlacementDepth required**

Placement depth.

Returns

`TSelf` The same instance.

`public static TSelf PlacementDepth<TSelf>(TSelf visioPage, VisioPlacementDepth? value)` [#](#method-placementdepth-nullable-officeimo-visio-visioplacementdepth)

Sets [VisioPage.PlacementDepth](/api/visio/officeimo-visio-visiopage/): Gets or sets the placement analysis depth Visio uses during page layout.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value OfficeIMO.Visio.VisioPlacementDepth? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property        // C# fluent
visioPage.PlacementDepth = value;    visioPage.PlacementDepth(value);
```

PlacementFlip``1 2 overloads

`public static TSelf PlacementFlip<TSelf>(TSelf visioPage, VisioPlacementFlip flip)` [#](#method-placementflip-officeimo-visio-visioplacementflip)

Sets Visio's page-level placement flip behavior.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**flip OfficeIMO.Visio.VisioPlacementFlip required**

Placement flip flags.

Returns

`TSelf` The same instance.

`public static TSelf PlacementFlip<TSelf>(TSelf visioPage, VisioPlacementFlip? value)` [#](#method-placementflip-nullable-officeimo-visio-visioplacementflip)

Sets [VisioPage.PlacementFlip](/api/visio/officeimo-visio-visiopage/): Gets or sets how Visio may flip or rotate shapes during page layout.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value OfficeIMO.Visio.VisioPlacementFlip? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property       // C# fluent
visioPage.PlacementFlip = value;    visioPage.PlacementFlip(value);
```

PlacementStyle``1 2 overloads

`public static TSelf PlacementStyle<TSelf>(TSelf visioPage, VisioPlacementStyle style)` [#](#method-placementstyle-officeimo-visio-visioplacementstyle)

Sets Visio's page-level placement style.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**style OfficeIMO.Visio.VisioPlacementStyle required**

Placement style.

Returns

`TSelf` The same instance.

`public static TSelf PlacementStyle<TSelf>(TSelf visioPage, VisioPlacementStyle? value)` [#](#method-placementstyle-nullable-officeimo-visio-visioplacementstyle)

Sets [VisioPage.PlacementStyle](/api/visio/officeimo-visio-visiopage/): Gets or sets the page-level placement style Visio uses when laying out shapes.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value OfficeIMO.Visio.VisioPlacementStyle? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property        // C# fluent
visioPage.PlacementStyle = value;    visioPage.PlacementStyle(value);
```

PrintOrientation``1 2 overloads

`public static TSelf PrintOrientation<TSelf>(TSelf visioPage, VisioPagePrintOrientation orientation)` [#](#method-printorientation-officeimo-visio-visiopageprintorientation)

Sets print orientation.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**orientation OfficeIMO.Visio.VisioPagePrintOrientation required**

Print orientation.

Returns

`TSelf` The same instance.

`public static TSelf PrintOrientation<TSelf>(TSelf visioPage, VisioPagePrintOrientation? value)` [#](#method-printorientation-nullable-officeimo-visio-visiopageprintorientation)

Sets [VisioPage.PrintOrientation](/api/visio/officeimo-visio-visiopage/): Gets or sets the print orientation. When null, OfficeIMO keeps Visio's default unless non-default page metadata is required.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value OfficeIMO.Visio.VisioPagePrintOrientation? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property          // C# fluent
visioPage.PrintOrientation = value;    visioPage.PrintOrientation(value);
```

`public static TSelf ResizePageToFitLayout<TSelf>(TSelf visioPage, bool? value = true)` [#](#method-resizepagetofitlayout-nullable-system-boolean)

Sets [VisioPage.ResizePageToFitLayout](/api/visio/officeimo-visio-visiopage/): Gets or sets whether Visio should enlarge the page after laying out shapes.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value bool? = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property               // C# fluent
visioPage.ResizePageToFitLayout = value;    visioPage.ResizePageToFitLayout(value);
```

`public static TSelf ScaleMeasurementUnit<TSelf>(TSelf visioPage, VisioMeasurementUnit value)` [#](#method-scalemeasurementunit-officeimo-visio-visiomeasurementunit)

Sets [VisioPage.ScaleMeasurementUnit](/api/visio/officeimo-visio-visiopage/): Measurement unit used to compute page and drawing scales when explicit overrides are not supplied. Defaults to inches and typically mirrors [VisioPage.DefaultUnit](/api/visio/officeimo-visio-visiopage/).

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value OfficeIMO.Visio.VisioMeasurementUnit required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property              // C# fluent
visioPage.ScaleMeasurementUnit = value;    visioPage.ScaleMeasurementUnit(value);
```

`public static TSelf ShapeSplitting<TSelf>(TSelf visioPage, bool enabled = true)` [#](#method-shapesplitting-boolean)

Enables or disables automatic shape splitting on this page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**enabled bool = true optional**

Whether automatic shape splitting is enabled.

Returns

`TSelf` The same instance.

`public static TSelf Shapes<TSelf>(TSelf visioPage, IEnumerable<VisioShape> items)` [#](#method-shapes-collections-generic-ienumerable-officeimo-visio-visioshape)

Adds items to [VisioPage.Shapes](/api/visio/officeimo-visio-visiopage/): Shapes placed on the page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**items System.Collections.Generic.IEnumerable<OfficeIMO.Visio.VisioShape> required**

The items, in order.

Returns

`TSelf` The same instance.

`public static TSelf Shape<TSelf>(TSelf visioPage, VisioShape item)` [#](#method-shape-officeimo-visio-visioshape)

Adds an item to [VisioPage.Shapes](/api/visio/officeimo-visio-visiopage/): Shapes placed on the page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**item OfficeIMO.Visio.VisioShape required**

The item.

Returns

`TSelf` The same instance.

`public static TSelf Snap<TSelf>(TSelf visioPage, bool value = true)` [#](#method-snap-boolean)

Sets [VisioPage.Snap](/api/visio/officeimo-visio-visiopage/): Gets or sets a value indicating whether snapping to grid is enabled.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
visioPage.Snap = value;          visioPage.Snap(value);
```

`public static TSelf UiVisibility<TSelf>(TSelf visioPage, VisioPageUiVisibility visibility)` [#](#method-uivisibility-officeimo-visio-visiopageuivisibility)

Shows or hides the page name in Visio UI page lists.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**visibility OfficeIMO.Visio.VisioPageUiVisibility required**

Page UI visibility.

Returns

`TSelf` The same instance.

`public static TSelf VerticalLineJumpDirection<TSelf>(TSelf visioPage, VisioVerticalLineJumpDirection? value)` [#](#method-verticallinejumpdirection-nullable-officeimo-visio-visioverticallinejumpdirection)

Sets [VisioPage.VerticalLineJumpDirection](/api/visio/officeimo-visio-visiopage/): Gets or sets the page default line jump direction for vertical dynamic connectors.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value OfficeIMO.Visio.VisioVerticalLineJumpDirection? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                   // C# fluent
visioPage.VerticalLineJumpDirection = value;    visioPage.VerticalLineJumpDirection(value);
```

`public static TSelf ViewCenterX<TSelf>(TSelf visioPage, double value)` [#](#method-viewcenterx-double)

Sets [VisioPage.ViewCenterX](/api/visio/officeimo-visio-visiopage/): Gets or sets the horizontal center of the view.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value double required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property     // C# fluent
visioPage.ViewCenterX = value;    visioPage.ViewCenterX(value);
```

`public static TSelf ViewCenterY<TSelf>(TSelf visioPage, double value)` [#](#method-viewcentery-double)

Sets [VisioPage.ViewCenterY](/api/visio/officeimo-visio-visiopage/): Gets or sets the vertical center of the view.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value double required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property     // C# fluent
visioPage.ViewCenterY = value;    visioPage.ViewCenterY(value);
```

`public static TSelf ViewScale<TSelf>(TSelf visioPage, double value)` [#](#method-viewscale-double)

Sets [VisioPage.ViewScale](/api/visio/officeimo-visio-visiopage/): Gets or sets the view scale of the page.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value double required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
visioPage.ViewScale = value;     visioPage.ViewScale(value);
```

`public static TSelf Width<TSelf>(TSelf visioPage, OfficeLength value)` [#](#method-width-officeimo-officelength)

Sets [VisioPage.Width](/api/visio/officeimo-visio-visiopage/): Gets or sets the physical Width.

Type Parameters

**TSelf**

Parameters

**visioPage TSelf required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
visioPage.Width = value;         visioPage.Width(value);
```

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:EB959608F0213DD4ED3CBBB850AE97172038444121C6DAE0D6A5D14A59D9AF76 -->
