Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

VisioPageFluent

OfficeIMO.Visio

Namespace
OfficeIMO.Visio
Assembly
OfficeIMO.Visio
Modifiers
static

The fluent methods of 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

Methods

public static TSelf AllowShapeSplitting<TSelf>(TSelf visioPage, bool value = true) #

Sets VisioPage.AllowShapeSplitting: 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

// C# initializer or property             // C# fluent
visioPage.AllowShapeSplitting = value;    visioPage.AllowShapeSplitting(value);
public static TSelf AutoResizeDrawing<TSelf>(TSelf visioPage, bool enabled = true) #

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) #

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) #

Configures VisioPage.BackgroundPage 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) #

Sets VisioPage.IsBackground: 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

// C# initializer or property      // C# fluent
visioPage.IsBackground = value;    visioPage.Background(value);
public static TSelf Comments<TSelf>(TSelf visioPage, IEnumerable<VisioComment> items) #

Adds items to VisioPage.Comments: 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) #

Adds an item to VisioPage.Comments: 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) #

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) #

Sets VisioPage.ConnectorRouteAppearance: 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

// 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) #

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) #

Sets VisioPage.ConnectorRouteStyle: 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

// 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) #

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) #

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) #

Adds items to VisioPage.Connectors: 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) #

Adds an item to VisioPage.Connectors: 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) #

Sets VisioPage.DefaultUnit: 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

// C# initializer or property     // C# fluent
visioPage.DefaultUnit = value;    visioPage.DefaultUnit(value);
public static TSelf DrawingScale<TSelf>(TSelf visioPage, VisioScaleSetting value) #

Sets VisioPage.DrawingScale: 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

// C# initializer or property      // C# fluent
visioPage.DrawingScale = value;    visioPage.DrawingScale(value);
public static TSelf DrawingSizeType<TSelf>(TSelf visioPage, VisioDrawingSizeType value) #

Sets VisioPage.DrawingSizeType: 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

// C# initializer or property         // C# fluent
visioPage.DrawingSizeType = value;    visioPage.DrawingSizeType(value);
public static TSelf DrawingSize<TSelf>(TSelf visioPage, VisioDrawingSizeType sizeType) #

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) #

Sets VisioPage.EnableLayoutGrid: 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

// C# initializer or property          // C# fluent
visioPage.EnableLayoutGrid = value;    visioPage.EnableLayoutGrid(value);
public static TSelf GridVisible<TSelf>(TSelf visioPage, bool value = true) #

Sets VisioPage.GridVisible: 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

// C# initializer or property     // C# fluent
visioPage.GridVisible = value;    visioPage.GridVisible(value);
public static TSelf Height<TSelf>(TSelf visioPage, OfficeLength value) #

Sets VisioPage.Height: 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

// C# initializer or property    // C# fluent
visioPage.Height = value;        visioPage.Height(value);
public static TSelf HorizontalLineJumpDirection<TSelf>(TSelf visioPage, VisioHorizontalLineJumpDirection? value) #

Sets VisioPage.HorizontalLineJumpDirection: 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

// C# initializer or property                     // C# fluent
visioPage.HorizontalLineJumpDirection = value;    visioPage.HorizontalLineJumpDirection(value);
public static TSelf Layers<TSelf>(TSelf visioPage, IEnumerable<VisioLayer> items) #

Adds items to VisioPage.Layers: 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) #

Adds an item to VisioPage.Layers: 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) #

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) #

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) #

Sets VisioPage.LineJumpCode: 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

// C# initializer or property      // C# fluent
visioPage.LineJumpCode = value;    visioPage.LineJumpCode(value);
public static TSelf LineJumpStyle<TSelf>(TSelf visioPage, VisioLineJumpStyle? value) #

Sets VisioPage.LineJumpStyle: 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

// 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) #

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) #

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) #

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) #

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) #

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) #

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) #

Sets VisioPage.MoveShapesAwayOnDrop: 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

// C# initializer or property              // C# fluent
visioPage.MoveShapesAwayOnDrop = value;    visioPage.MoveShapesAwayOnDrop(value);
public static TSelf NameU<TSelf>(TSelf visioPage, string? value) #

Sets VisioPage.NameU: 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

// C# initializer or property    // C# fluent
visioPage.NameU = value;         visioPage.NameU(value);
public static TSelf PageLockDuplicate<TSelf>(TSelf visioPage, bool value = true) #

Sets VisioPage.PageLockDuplicate: 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

// C# initializer or property           // C# fluent
visioPage.PageLockDuplicate = value;    visioPage.PageLockDuplicate(value);
public static TSelf PageLockReplace<TSelf>(TSelf visioPage, bool value = true) #

Sets VisioPage.PageLockReplace: 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

// C# initializer or property         // C# fluent
visioPage.PageLockReplace = value;    visioPage.PageLockReplace(value);
public static TSelf PageScale<TSelf>(TSelf visioPage, VisioScaleSetting value) #

Sets VisioPage.PageScale: 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

// 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) #

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) #

Sets VisioPage.PlacementDepth: 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

// 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) #

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) #

Sets VisioPage.PlacementFlip: 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

// 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) #

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) #

Sets VisioPage.PlacementStyle: 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

// 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) #

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) #

Sets VisioPage.PrintOrientation: 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

// C# initializer or property          // C# fluent
visioPage.PrintOrientation = value;    visioPage.PrintOrientation(value);
public static TSelf ResizePageToFitLayout<TSelf>(TSelf visioPage, bool? value = true) #

Sets VisioPage.ResizePageToFitLayout: 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

// C# initializer or property               // C# fluent
visioPage.ResizePageToFitLayout = value;    visioPage.ResizePageToFitLayout(value);
public static TSelf ScaleMeasurementUnit<TSelf>(TSelf visioPage, VisioMeasurementUnit value) #

Sets VisioPage.ScaleMeasurementUnit: Measurement unit used to compute page and drawing scales when explicit overrides are not supplied. Defaults to inches and typically mirrors VisioPage.DefaultUnit.

Type Parameters

TSelf

Parameters

visioPage TSelf required
The instance.
value OfficeIMO.Visio.VisioMeasurementUnit required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property              // C# fluent
visioPage.ScaleMeasurementUnit = value;    visioPage.ScaleMeasurementUnit(value);
public static TSelf ShapeSplitting<TSelf>(TSelf visioPage, bool enabled = true) #

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) #

Adds items to VisioPage.Shapes: 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) #

Adds an item to VisioPage.Shapes: 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) #

Sets VisioPage.Snap: 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

// C# initializer or property    // C# fluent
visioPage.Snap = value;          visioPage.Snap(value);
public static TSelf UiVisibility<TSelf>(TSelf visioPage, VisioPageUiVisibility visibility) #

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) #

Sets VisioPage.VerticalLineJumpDirection: 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

// C# initializer or property                   // C# fluent
visioPage.VerticalLineJumpDirection = value;    visioPage.VerticalLineJumpDirection(value);
public static TSelf ViewCenterX<TSelf>(TSelf visioPage, double value) #

Sets VisioPage.ViewCenterX: 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

// C# initializer or property     // C# fluent
visioPage.ViewCenterX = value;    visioPage.ViewCenterX(value);
public static TSelf ViewCenterY<TSelf>(TSelf visioPage, double value) #

Sets VisioPage.ViewCenterY: 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

// C# initializer or property     // C# fluent
visioPage.ViewCenterY = value;    visioPage.ViewCenterY(value);
public static TSelf ViewScale<TSelf>(TSelf visioPage, double value) #

Sets VisioPage.ViewScale: 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

// C# initializer or property    // C# fluent
visioPage.ViewScale = value;     visioPage.ViewScale(value);
public static TSelf Width<TSelf>(TSelf visioPage, OfficeLength value) #

Sets VisioPage.Width: 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

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