API Reference
VisioFluentPage
Fluent builder for a single Visio page. Provides direct verbs like Rect/Ellipse/Diamond/Triangle/Connect, consistent with other OfficeIMO fluent APIs.
Inheritance
- Object
- VisioFluentPage
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method VisioFluentPage.AddToContainer
- Method VisioFluentPage.AddToContainer
- Method VisioFluentPage.AlignShapes
- Method VisioFluentPage.ApplyContainerOptions
- Method VisioFluentPage.ApplyStencilMigration
- Method VisioFluentPage.ApplyStencilMigration
- Method VisioFluentPage.AutoResizeDrawing
- Method VisioFluentPage.Callouts
- Method VisioFluentPage.Circle
- Method VisioFluentPage.ClearConnectorRoutingPolicy
- Method VisioFluentPage.ClearConnectorSpacing
- Method VisioFluentPage.ClearLayoutGridPolicy
- Method VisioFluentPage.ClearLayoutGridSizing
- Method VisioFluentPage.ClearPlacementPolicy
- Method VisioFluentPage.Comment
- Method VisioFluentPage.Comments
- Method VisioFluentPage.CommentShape
- Method VisioFluentPage.ConfigureContainer
- Method VisioFluentPage.Connect
- Method VisioFluentPage.Connect
- Method VisioFluentPage.ConnectedComponent
- Method VisioFluentPage.ConnectedConnectors
- Method VisioFluentPage.ConnectorRouteAppearance
- Method VisioFluentPage.ConnectorRouteStyle
- Method VisioFluentPage.Connectors
- Method VisioFluentPage.Connectors
- Method VisioFluentPage.ConnectorsInLayer
- Method VisioFluentPage.ConnectorSpacing
- Method VisioFluentPage.ConnectorSpacing
- Method VisioFluentPage.ConnectorsWithHyperlink
- Method VisioFluentPage.ConnectorsWithHyperlinks
- Method VisioFluentPage.ConnectorsWithProtection
- Method VisioFluentPage.ConnectorsWithProtection
- Method VisioFluentPage.Container
- Method VisioFluentPage.Containers
- Method VisioFluentPage.Data
- Method VisioFluentPage.Decision
- Method VisioFluentPage.Diamond
- Method VisioFluentPage.DistributeShapes
- Method VisioFluentPage.DrawingSize
- Method VisioFluentPage.DuplicateShape
- Method VisioFluentPage.DuplicateShape
- Method VisioFluentPage.DuplicateShapes
- Method VisioFluentPage.DuplicateShapes
- Method VisioFluentPage.Ellipse
- Method VisioFluentPage.EnableLayoutGrid
- Method VisioFluentPage.Hexagon
- Method VisioFluentPage.IncomingConnectors
- Method VisioFluentPage.Layer
- Method VisioFluentPage.LayoutGridSizing
- Method VisioFluentPage.LayoutGridSizing
- Method VisioFluentPage.LineJumps
- Method VisioFluentPage.LockDuplicate
- Method VisioFluentPage.LockReplace
- Method VisioFluentPage.ManualOperation
- Method VisioFluentPage.Margins
- Method VisioFluentPage.Margins
- Method VisioFluentPage.Margins
- Method VisioFluentPage.Master
- Method VisioFluentPage.MoveShapesAwayOnDrop
- Method VisioFluentPage.MoveSwimlaneActivity
- Method VisioFluentPage.OffPageReference
- Method VisioFluentPage.OutgoingConnectors
- Method VisioFluentPage.Parallelogram
- Method VisioFluentPage.PathBetween
- Method VisioFluentPage.Pentagon
- Method VisioFluentPage.PlacementDepth
- Method VisioFluentPage.PlacementFlip
- Method VisioFluentPage.PlacementStyle
- Method VisioFluentPage.Polish
- Method VisioFluentPage.Preparation
- Method VisioFluentPage.PrintOrientation
- Method VisioFluentPage.Process
- Method VisioFluentPage.Rect
- Method VisioFluentPage.RefitContainer
- Method VisioFluentPage.RelayoutConnectedComponentAsGrid
- Method VisioFluentPage.RelayoutContainerMembers
- Method VisioFluentPage.RelayoutShapesAsGrid
- Method VisioFluentPage.RelayoutShapesAsHorizontalStack
- Method VisioFluentPage.RelayoutShapesAsVerticalStack
- Method VisioFluentPage.RelayoutSwimlanes
- Method VisioFluentPage.RemoveComment
- Method VisioFluentPage.RemoveFromContainer
- Method VisioFluentPage.RemoveFromContainer
- Method VisioFluentPage.ReopenComment
- Method VisioFluentPage.ReplaceMaster
- Method VisioFluentPage.ReplaceMasters
- Method VisioFluentPage.ReplaceMastersByMaster
- Method VisioFluentPage.ResizePageToFitLayout
- Method VisioFluentPage.ResolveComment
- Method VisioFluentPage.ResolveShapeOverlaps
- Method VisioFluentPage.Shape
- Method VisioFluentPage.ShapeComments
- Method VisioFluentPage.Shapes
- Method VisioFluentPage.Shapes
- Method VisioFluentPage.ShapesByMaster
- Method VisioFluentPage.ShapesByName
- Method VisioFluentPage.ShapesByNameU
- Method VisioFluentPage.ShapesContainedIn
- Method VisioFluentPage.ShapesContainedIn
- Method VisioFluentPage.ShapesContainingText
- Method VisioFluentPage.ShapesInLayer
- Method VisioFluentPage.ShapesIntersecting
- Method VisioFluentPage.ShapesIntersecting
- Method VisioFluentPage.ShapeSplitting
- Method VisioFluentPage.ShapesWithData
- Method VisioFluentPage.ShapesWithData
- Method VisioFluentPage.ShapesWithHyperlink
- Method VisioFluentPage.ShapesWithHyperlinks
- Method VisioFluentPage.ShapesWithProtection
- Method VisioFluentPage.ShapesWithProtection
- Method VisioFluentPage.ShapesWithShapeData
- Method VisioFluentPage.ShapesWithUserCell
- Method VisioFluentPage.ShapesWithUserCell
- Method VisioFluentPage.Size
- Method VisioFluentPage.Square
- Method VisioFluentPage.Stencil
- Method VisioFluentPage.Stencil
- Method VisioFluentPage.Stencil
- Method VisioFluentPage.Stencil
- Method VisioFluentPage.Stencil
- Method VisioFluentPage.StyleContainer
- Method VisioFluentPage.SwimlaneActivities
- Method VisioFluentPage.TextBox
- Method VisioFluentPage.Title
- Method VisioFluentPage.Trapezoid
- Method VisioFluentPage.Triangle
- Method VisioFluentPage.UiVisibility
- Method VisioFluentPage.UpdateComment
Accepted by parameters
- Method VisioFluentDocument.BackgroundPage
- Method VisioFluentDocument.BackgroundPage
- Method VisioFluentDocument.ExistingPage
- Method VisioFluentDocument.ExistingPage
- Method VisioFluentDocument.FirstPage
- Method VisioFluentDocument.Page
- Method VisioFluentDocument.Page
- Method VisioFluentDocument.Page
- Method VisioFluentDocument.PageOrAdd
- Method VisioFluentDocument.PageOrAdd
Constructors
VisioFluentPage(OfficeIMO.Visio.Fluent.VisioFluentDocument fluent, OfficeIMO.Visio.VisioPage page) #Initializes a new fluent page wrapper.
Parameters
- fluent OfficeIMO.Visio.Fluent.VisioFluentDocument
- Parent fluent document.
- page OfficeIMO.Visio.VisioPage
- Underlying page model.
Methods
public VisioFluentPage AddToContainer(String containerId, IEnumerable<String> memberIds, Boolean resizeToFit = true, VisioContainerOptions resizeOptions = null) #VisioFluentPageAdds existing shapes to a Visio-native container.
Parameters
- containerId System.String
- memberIds System.Collections.Generic.IEnumerable{System.String}
- resizeToFit System.Boolean = true
- resizeOptions OfficeIMO.Visio.VisioContainerOptions = null
public VisioFluentPage AddToContainer(String containerId, IEnumerable<String> memberIds, Action<VisioContainerOptions> configureResizeOptions) #VisioFluentPageAdds existing shapes to a Visio-native container using inline resize option configuration.
Parameters
- containerId System.String
- memberIds System.Collections.Generic.IEnumerable{System.String}
- configureResizeOptions System.Action{OfficeIMO.Visio.VisioContainerOptions}
public VisioFluentPage AlignShapes(VisioVerticalAlignment alignment, IEnumerable<String> shapeIds) #VisioFluentPageAligns existing shapes by id using the current selection bounds.
Parameters
- alignment OfficeIMO.Visio.VisioHorizontalAlignment
- Horizontal alignment to apply.
- shapeIds System.Collections.Generic.IEnumerable{System.String}
- Shape ids to align.
AlignShapes(OfficeIMO.Visio.VisioVerticalAlignment alignment, System.Collections.Generic.IEnumerable{System.String} shapeIds) #Aligns existing shapes by id using the current selection bounds.
Parameters
- alignment OfficeIMO.Visio.VisioVerticalAlignment
- Vertical alignment to apply.
- shapeIds System.Collections.Generic.IEnumerable{System.String}
- Shape ids to align.
public VisioFluentPage ApplyContainerOptions(String containerId, VisioContainerOptions options, Boolean refit = false) #VisioFluentPageApplies native container metadata and visual style to an existing Visio-native container.
Parameters
- containerId System.String
- options OfficeIMO.Visio.VisioContainerOptions
- refit System.Boolean = false
public VisioFluentPage ApplyStencilMigration(VisioStencilMigrationMap map) #VisioFluentPageApplies a reusable stencil migration map to this page.
Parameters
- map OfficeIMO.Visio.VisioStencilMigrationMap
public VisioFluentPage ApplyStencilMigration(VisioStencilMigrationPlan plan, VisioStencilMigrationMap map) #VisioFluentPageApplies a previously reviewed stencil migration plan to this page after validating that the page still matches the plan.
Parameters
- plan OfficeIMO.Visio.VisioStencilMigrationPlan
- map OfficeIMO.Visio.VisioStencilMigrationMap
public VisioFluentPage AutoResizeDrawing(Boolean enabled = true) #VisioFluentPageEnables or disables automatic page resizing to fit the diagram.
Parameters
- enabled System.Boolean = true
- Whether automatic drawing resize is enabled.
public VisioFluentPage Callouts(Action<VisioShapeSelection> configure) #VisioFluentPageSelects OfficeIMO callout or annotation shapes and configures them.
Parameters
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
public VisioFluentPage Circle(String id, Double x, Double y, Double diameter, String text = null) #VisioFluentPageAdds a circle by diameter.
Parameters
- id System.String
- x System.Double
- y System.Double
- diameter System.Double
- text System.String = null
public VisioFluentPage ClearConnectorRoutingPolicy() #VisioFluentPageClears page-level connector routing and line-jump policy cells.
public VisioFluentPage ClearConnectorSpacing() #VisioFluentPageClears page-level connector spacing cells.
public VisioFluentPage ClearLayoutGridPolicy() #VisioFluentPageClears Visio layout grid enablement and sizing cells.
public VisioFluentPage ClearLayoutGridSizing() #VisioFluentPageClears Visio layout grid sizing cells.
public VisioFluentPage ClearPlacementPolicy() #VisioFluentPageClears page-level placement policy cells.
public VisioFluentPage Comment(String text, String authorName = null, String authorInitials = null, VisioCommentOptions options = null) #VisioFluentPageAdds a page-level native Visio comment.
Parameters
- text System.String
- authorName System.String = null
- authorInitials System.String = null
- options OfficeIMO.Visio.VisioCommentOptions = null
public VisioFluentPage Comments(Action<IList<VisioComment>> configure) #VisioFluentPageConfigures all native Visio comments on the page.
Parameters
- configure System.Action{System.Collections.Generic.IList{OfficeIMO.Visio.VisioComment}}
public VisioFluentPage CommentShape(String shapeId, String text, String authorName = null, String authorInitials = null, VisioCommentOptions options = null) #VisioFluentPageAdds a native Visio comment to a shape or connector by identifier.
Parameters
- shapeId System.String
- text System.String
- authorName System.String = null
- authorInitials System.String = null
- options OfficeIMO.Visio.VisioCommentOptions = null
public VisioFluentPage ConfigureContainer(String containerId, Action<VisioContainerOptions> configureOptions, Boolean refit = false) #VisioFluentPageUpdates native container metadata and visual style using a callback initialized from the current container state.
Parameters
- containerId System.String
- configureOptions System.Action{OfficeIMO.Visio.VisioContainerOptions}
- refit System.Boolean = false
public VisioFluentPage Connect(String fromId, String toId, Action<VisioFluentConnector> configure = null) #VisioFluentPageConnects two shapes by id and optionally configures the connector.
Parameters
- fromId System.String
- toId System.String
- configure System.Action{OfficeIMO.Visio.Fluent.VisioFluentConnector} = null
public VisioFluentPage Connect(String fromId, String toId, VisioSide fromSide, VisioSide toSide, Action<VisioFluentConnector> configure = null) #VisioFluentPageConnects two shapes by id and preselects connector sides.
Parameters
- fromId System.String
- toId System.String
- fromSide OfficeIMO.Visio.VisioSide
- toSide OfficeIMO.Visio.VisioSide
- configure System.Action{OfficeIMO.Visio.Fluent.VisioFluentConnector} = null
public VisioFluentPage ConnectedComponent(String shapeId, Action<VisioShapeSelection> configure, Boolean includeStart = true) #VisioFluentPageSelects every shape reachable from the provided shape through connectors and configures them.
Parameters
- shapeId System.String
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
- includeStart System.Boolean = true
public VisioFluentPage ConnectedConnectors(String shapeId, Action<VisioConnectorSelection> configure) #VisioFluentPageSelects connectors attached to the provided shape and configures them.
Parameters
- shapeId System.String
- configure System.Action{OfficeIMO.Visio.VisioConnectorSelection}
public VisioFluentPage ConnectorRouteAppearance(VisioLineRouteExtension appearance) #VisioFluentPageSets the default appearance for routed connectors on this page.
Parameters
- appearance OfficeIMO.Visio.VisioLineRouteExtension
- Default routed connector appearance.
public VisioFluentPage ConnectorRouteStyle(VisioPageRouteStyle style) #VisioFluentPageSets Visio's page-level connector routing style.
Parameters
- style OfficeIMO.Visio.VisioPageRouteStyle
- Routing style to use for connectors without local routing.
public VisioFluentPage Connectors(Action<VisioConnectorSelection> configure) #VisioFluentPageConfigures all connectors on the page.
Parameters
- configure System.Action{OfficeIMO.Visio.VisioConnectorSelection}
- Configuration to apply to the selected connectors.
public VisioFluentPage Connectors(Func<VisioConnector, Boolean> predicate, Action<VisioConnectorSelection> configure) #VisioFluentPageSelects connectors with a strongly typed predicate and configures the stable selection.
Parameters
- predicate System.Func{OfficeIMO.Visio.VisioConnector,System.Boolean}
- Predicate used to select connectors.
- configure System.Action{OfficeIMO.Visio.VisioConnectorSelection}
- Configuration to apply to the selected connectors.
public VisioFluentPage ConnectorsInLayer(String layerName, Action<VisioConnectorSelection> configure, StringComparison comparison = OrdinalIgnoreCase) #VisioFluentPageSelects connectors assigned to a page layer and configures them.
Parameters
- layerName System.String
- configure System.Action{OfficeIMO.Visio.VisioConnectorSelection}
- comparison System.StringComparison = OrdinalIgnoreCase
public VisioFluentPage ConnectorSpacing(Double lineToLine, Double lineToNode, VisioMeasurementUnit unit = Inches) #VisioFluentPageSets connector-to-connector and connector-to-shape routing clearances.
Parameters
- lineToLine System.Double
- Horizontal and vertical connector-to-connector clearance.
- lineToNode System.Double
- Horizontal and vertical connector-to-shape clearance.
- unit OfficeIMO.Visio.VisioMeasurementUnit = Inches
- Measurement unit.
public VisioFluentPage ConnectorSpacing(Double lineToLineX, Double lineToLineY, Double lineToNodeX, Double lineToNodeY, VisioMeasurementUnit unit = Inches) #VisioFluentPageSets individual connector routing clearances.
Parameters
- lineToLineX System.Double
- lineToLineY System.Double
- lineToNodeX System.Double
- lineToNodeY System.Double
- unit OfficeIMO.Visio.VisioMeasurementUnit = Inches
public VisioFluentPage ConnectorsWithHyperlink(String address, Action<VisioConnectorSelection> configure, StringComparison comparison = OrdinalIgnoreCase) #VisioFluentPageSelects connectors with a matching hyperlink address and configures them.
Parameters
- address System.String
- configure System.Action{OfficeIMO.Visio.VisioConnectorSelection}
- comparison System.StringComparison = OrdinalIgnoreCase
public VisioFluentPage ConnectorsWithHyperlinks(Action<VisioConnectorSelection> configure) #VisioFluentPageSelects connectors with at least one hyperlink and configures them.
Parameters
- configure System.Action{OfficeIMO.Visio.VisioConnectorSelection}
public VisioFluentPage ConnectorsWithProtection(Action<VisioConnectorSelection> configure) #VisioFluentPageSelects connectors with any explicit protection cell and configures them.
Parameters
- configure System.Action{OfficeIMO.Visio.VisioConnectorSelection}
public VisioFluentPage ConnectorsWithProtection(Func<VisioProtection, Boolean> predicate, Action<VisioConnectorSelection> configure) #VisioFluentPageSelects connectors whose protection state matches a predicate and configures them.
Parameters
- predicate System.Func{OfficeIMO.Visio.VisioProtection,System.Boolean}
- configure System.Action{OfficeIMO.Visio.VisioConnectorSelection}
public VisioFluentPage Container(String id, String text, IEnumerable<String> memberIds, VisioContainerOptions options = null) #VisioFluentPageAdds a Visio-native container around existing shapes using inline option configuration.
Parameters
- id System.String
- text System.String
- memberIds System.Collections.Generic.IEnumerable{System.String}
- configure System.Action{OfficeIMO.Visio.VisioContainerOptions} = null
Container(System.String id, System.String text, System.Collections.Generic.IEnumerable{System.String} memberIds, OfficeIMO.Visio.VisioContainerOptions options) #Adds a Visio-native container around existing shapes.
Parameters
- id System.String
- Container shape id.
- text System.String
- Container heading text.
- memberIds System.Collections.Generic.IEnumerable{System.String}
- Existing shape ids to include in the container.
- options OfficeIMO.Visio.VisioContainerOptions
- Optional container layout and style settings.
public VisioContainerInfo ContainerInfo(String containerId) #VisioContainerInfoGets typed metadata and membership information for a Visio-native container.
Parameters
- containerId System.String
public VisioFluentPage Containers(Action<VisioShapeSelection> configure) #VisioFluentPageSelects Visio-native container shapes and configures them.
Parameters
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
public VisioFluentPage Data(String id, Double x, Double y, Double width, Double height, String text = null) #VisioFluentPageAdds a flowchart data shape.
Parameters
- id System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
public VisioFluentPage Decision(String id, Double x, Double y, Double width, Double height, String text = null) #VisioFluentPageAdds a flowchart decision shape.
Parameters
- id System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
public VisioFluentPage Diamond(String id, Double x, Double y, Double width, Double height, String text = null) #VisioFluentPageAdds a diamond (rhombus) shape.
Parameters
- id System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
public VisioFluentPage DistributeShapes(VisioDistributionAxis axis, IEnumerable<String> shapeIds) #VisioFluentPageDistributes existing shapes by center point along the requested axis.
Parameters
- axis OfficeIMO.Visio.VisioDistributionAxis
- Distribution axis.
- shapeIds System.Collections.Generic.IEnumerable{System.String}
- Shape ids to distribute.
public VisioFluentPage DrawingSize(VisioDrawingSizeType sizeType) #VisioFluentPageSets how Visio determines the drawing page size.
Parameters
- sizeType OfficeIMO.Visio.VisioDrawingSizeType
- Drawing size behavior.
public VisioFluentPage DuplicateShape(String shapeId, Action<VisioShapeSelection> configure = null) #VisioFluentPageDuplicates one shape by id, copies its grouped children, and keeps copied ids easy to reference.
Parameters
- shapeId System.String
- Identifier of the shape to duplicate.
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection} = null
- Optional configuration for the duplicated selection.
public VisioFluentPage DuplicateShape(String shapeId, VisioShapeDuplicationOptions options, Action<VisioShapeSelection> configure = null) #VisioFluentPageDuplicates one shape by id using explicit duplication options.
Parameters
- shapeId System.String
- Identifier of the shape to duplicate.
- options OfficeIMO.Visio.VisioShapeDuplicationOptions
- Duplication options.
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection} = null
- Optional configuration for the duplicated selection.
public VisioFluentPage DuplicateShapes(IEnumerable<String> shapeIds, Action<VisioShapeSelection> configure = null) #VisioFluentPageDuplicates several shapes by id, preserving internal connectors between duplicated shapes.
Parameters
- shapeIds System.Collections.Generic.IEnumerable{System.String}
- Shape identifiers to duplicate.
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection} = null
- Optional configuration for the duplicated selection.
public VisioFluentPage DuplicateShapes(IEnumerable<String> shapeIds, VisioShapeDuplicationOptions options, Action<VisioShapeSelection> configure = null) #VisioFluentPageDuplicates several shapes by id using explicit duplication options.
Parameters
- shapeIds System.Collections.Generic.IEnumerable{System.String}
- Shape identifiers to duplicate.
- options OfficeIMO.Visio.VisioShapeDuplicationOptions
- Duplication options.
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection} = null
- Optional configuration for the duplicated selection.
public VisioFluentPage Ellipse(String id, Double x, Double y, Double width, Double height, String text = null) #VisioFluentPageAdds an ellipse shape with explicit width/height.
Parameters
- id System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
public VisioFluentPage EnableLayoutGrid(Boolean enabled = true) #VisioFluentPageEnables or disables Visio's internal layout grid for page layout.
Parameters
- enabled System.Boolean = true
- Whether Visio should use the internal layout grid.
public VisioFluentDocument EndPage() #VisioFluentDocumentReturns to the document-level fluent builder for chaining.
public VisioFluentPage Hexagon(String id, Double x, Double y, Double width, Double height, String text = null) #VisioFluentPageAdds a hexagon shape.
Parameters
- id System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
public VisioFluentPage IncomingConnectors(String shapeId, Action<VisioConnectorSelection> configure) #VisioFluentPageSelects connectors that end at the provided shape and configures them.
Parameters
- shapeId System.String
- configure System.Action{OfficeIMO.Visio.VisioConnectorSelection}
public VisioFluentPage Layer(String name, String nameU = null) #VisioFluentPageAdds a page layer.
Parameters
- name System.String
- Layer display name.
- nameU System.String = null
- Optional universal name.
public VisioFluentPage LayoutGridSizing(Double blockSize, Double avenueSize, VisioMeasurementUnit unit = Inches) #VisioFluentPageSets Visio layout grid block size and spacing.
Parameters
- blockSize System.Double
- Horizontal and vertical average shape block size.
- avenueSize System.Double
- Horizontal and vertical spacing between shapes.
- unit OfficeIMO.Visio.VisioMeasurementUnit = Inches
- Measurement unit.
public VisioFluentPage LayoutGridSizing(Double blockSizeX, Double blockSizeY, Double avenueSizeX, Double avenueSizeY, VisioMeasurementUnit unit = Inches) #VisioFluentPageSets individual Visio layout grid block sizes and spacing values.
Parameters
- blockSizeX System.Double
- blockSizeY System.Double
- avenueSizeX System.Double
- avenueSizeY System.Double
- unit OfficeIMO.Visio.VisioMeasurementUnit = Inches
public VisioFluentPage LineJumps(VisioLineJumpStyle style, VisioLineJumpCode code, VisioHorizontalLineJumpDirection horizontalDirection = Default, VisioVerticalLineJumpDirection verticalDirection = Default) #VisioFluentPageSets the default line jump behavior for this page.
Parameters
- style OfficeIMO.Visio.VisioLineJumpStyle
- Line jump style.
- code OfficeIMO.Visio.VisioLineJumpCode
- Which connectors receive line jumps.
- horizontalDirection OfficeIMO.Visio.VisioHorizontalLineJumpDirection = Default
- Default jump direction for horizontal dynamic connectors.
- verticalDirection OfficeIMO.Visio.VisioVerticalLineJumpDirection = Default
- Default jump direction for vertical dynamic connectors.
public VisioFluentPage LockDuplicate(Boolean locked = true) #VisioFluentPageLocks or unlocks page duplication.
Parameters
- locked System.Boolean = true
- Whether duplication is locked.
public VisioFluentPage LockReplace(Boolean locked = true) #VisioFluentPageLocks or unlocks page replacement.
Parameters
- locked System.Boolean = true
- Whether replacement is locked.
public VisioFluentPage ManualOperation(String id, Double x, Double y, Double width, Double height, String text = null) #VisioFluentPageAdds a flowchart manual operation shape.
Parameters
- id System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
public VisioFluentPage Margins(Double margin, VisioMeasurementUnit unit = Inches) #VisioFluentPageSets all print margins.
Parameters
- margin System.Double
- Margin value.
- unit OfficeIMO.Visio.VisioMeasurementUnit = Inches
- Measurement unit.
public VisioFluentPage Margins(Double horizontal, Double vertical, VisioMeasurementUnit unit = Inches) #VisioFluentPageSets horizontal and vertical print margins.
Parameters
- horizontal System.Double
- Left and right margin value.
- vertical System.Double
- Top and bottom margin value.
- unit OfficeIMO.Visio.VisioMeasurementUnit = Inches
- Measurement unit.
public VisioFluentPage Margins(Double left, Double right, Double top, Double bottom, VisioMeasurementUnit unit = Inches) #VisioFluentPageSets individual print margins.
Parameters
- left System.Double
- right System.Double
- top System.Double
- bottom System.Double
- unit OfficeIMO.Visio.VisioMeasurementUnit = Inches
public VisioFluentPage Master(String id, String masterNameU, Double x, Double y, Double width, Double height, String text = null) #VisioFluentPageAdds a shape using a document-registered master.
Parameters
- id System.String
- masterNameU System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
public VisioFluentPage MoveShapesAwayOnDrop(Boolean enabled = true) #VisioFluentPageEnables or disables moving nearby shapes away on drop.
Parameters
- enabled System.Boolean = true
- Whether nearby placeable shapes move away on drop.
public VisioFluentPage MoveSwimlaneActivity(String activityId, String laneId, String phaseId, Action<VisioSwimlaneRelayoutOptions> configureOptions) #VisioFluentPageMoves a swimlane activity to another lane/phase cell and relayouts swimlane activities.
Parameters
- activityId System.String
- laneId System.String
- phaseId System.String
- options OfficeIMO.Visio.VisioSwimlaneRelayoutOptions = null
MoveSwimlaneActivity(System.String activityId, System.String laneId, System.String phaseId, System.Action{OfficeIMO.Visio.VisioSwimlaneRelayoutOptions} configureOptions) #Moves a swimlane activity to another lane/phase cell using inline relayout options.
Parameters
- activityId System.String
- laneId System.String
- phaseId System.String
- configureOptions System.Action{OfficeIMO.Visio.VisioSwimlaneRelayoutOptions}
public VisioFluentPage OffPageReference(String id, Double x, Double y, Double width, Double height, String text = null) #VisioFluentPageAdds a flowchart off-page reference shape.
Parameters
- id System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
public VisioFluentPage OutgoingConnectors(String shapeId, Action<VisioConnectorSelection> configure) #VisioFluentPageSelects connectors that start at the provided shape and configures them.
Parameters
- shapeId System.String
- configure System.Action{OfficeIMO.Visio.VisioConnectorSelection}
public VisioFluentPage Parallelogram(String id, Double x, Double y, Double width, Double height, String text = null) #VisioFluentPageAdds a parallelogram shape.
Parameters
- id System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
public VisioFluentPage PathBetween(String fromId, String toId, Action<VisioShapeSelection> configure, Boolean includeEndpoints = true) #VisioFluentPageSelects the shortest shape path between two connected shapes and configures it.
Parameters
- fromId System.String
- toId System.String
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
- includeEndpoints System.Boolean = true
public VisioFluentPage Pentagon(String id, Double x, Double y, Double width, Double height, String text = null) #VisioFluentPageAdds a pentagon shape.
Parameters
- id System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
public VisioFluentPage PlacementDepth(VisioPlacementDepth depth) #VisioFluentPageSets Visio's page-level placement analysis depth.
Parameters
- depth OfficeIMO.Visio.VisioPlacementDepth
- Placement depth.
public VisioFluentPage PlacementFlip(VisioPlacementFlip flip) #VisioFluentPageSets Visio's page-level placement flip behavior.
Parameters
- flip OfficeIMO.Visio.VisioPlacementFlip
- Placement flip flags.
public VisioFluentPage PlacementStyle(VisioPlacementStyle style) #VisioFluentPageSets Visio's page-level placement style.
Parameters
- style OfficeIMO.Visio.VisioPlacementStyle
- Placement style.
public VisioFluentPage Polish(VisioDiagramPolishOptions options = null) #VisioFluentPageApplies high-level deterministic cleanup to this page.
Parameters
- options OfficeIMO.Visio.VisioDiagramPolishOptions = null
public VisioFluentPage Preparation(String id, Double x, Double y, Double width, Double height, String text = null) #VisioFluentPageAdds a flowchart preparation shape.
Parameters
- id System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
public VisioFluentPage PrintOrientation(VisioPagePrintOrientation orientation) #VisioFluentPageSets print orientation.
Parameters
- orientation OfficeIMO.Visio.VisioPagePrintOrientation
- Print orientation.
public VisioFluentPage Process(String id, Double x, Double y, Double width, Double height, String text = null) #VisioFluentPageAdds a flowchart process shape.
Parameters
- id System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
public VisioFluentPage Rect(String id, Double x, Double y, Double width, Double height, String text = null) #VisioFluentPageAdds a rectangle shape with inline geometry.
Parameters
- id System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
public VisioFluentPage RefitContainer(String containerId, Action<VisioContainerOptions> configureOptions) #VisioFluentPageResizes a Visio-native container around its current members.
Parameters
- containerId System.String
- options OfficeIMO.Visio.VisioContainerOptions = null
RefitContainer(System.String containerId, System.Action{OfficeIMO.Visio.VisioContainerOptions} configureOptions) #Resizes a Visio-native container around its current members using inline option configuration.
Parameters
- containerId System.String
- configureOptions System.Action{OfficeIMO.Visio.VisioContainerOptions}
public VisioFluentPage RelayoutConnectedComponentAsGrid(String shapeId, VisioSelectionLayoutOptions options = null, Boolean includeStart = true) #VisioFluentPageRelays out all shapes reachable from a starting shape through connectors.
Parameters
- shapeId System.String
- Starting shape id.
- options OfficeIMO.Visio.VisioSelectionLayoutOptions = null
- Optional layout settings.
- includeStart System.Boolean = true
- Whether the starting shape should be included in the relayout.
public VisioFluentPage RelayoutContainerMembers(String containerId, Action<VisioSelectionLayoutOptions> configureLayoutOptions, Boolean refitContainer = true, VisioContainerOptions refitOptions = null) #VisioFluentPageRelays out the typed members of a Visio-native container and optionally refits the container around them.
Parameters
- containerId System.String
- Container shape id.
- layoutOptions OfficeIMO.Visio.VisioSelectionLayoutOptions = null
- Optional member layout settings.
- refitContainer System.Boolean = true
- Whether the container should be resized after member relayout.
- refitOptions OfficeIMO.Visio.VisioContainerOptions = null
- Optional container refit settings.
RelayoutContainerMembers(System.String containerId, System.Action{OfficeIMO.Visio.VisioSelectionLayoutOptions} configureLayoutOptions, System.Boolean refitContainer, OfficeIMO.Visio.VisioContainerOptions refitOptions) #Relays out the typed members of a Visio-native container using inline layout option configuration.
Parameters
- containerId System.String
- Container shape id.
- configureLayoutOptions System.Action{OfficeIMO.Visio.VisioSelectionLayoutOptions}
- Layout option callback.
- refitContainer System.Boolean
- Whether the container should be resized after member relayout.
- refitOptions OfficeIMO.Visio.VisioContainerOptions
- Optional container refit settings.
public VisioFluentPage RelayoutShapesAsGrid(IEnumerable<String> shapeIds, Action<VisioSelectionLayoutOptions> configureOptions) #VisioFluentPageRelays out existing shapes by id into a deterministic grid and optionally reroutes internal connectors.
Parameters
- shapeIds System.Collections.Generic.IEnumerable{System.String}
- Shape ids to relayout.
- options OfficeIMO.Visio.VisioSelectionLayoutOptions = null
- Optional layout settings.
RelayoutShapesAsGrid(System.Collections.Generic.IEnumerable{System.String} shapeIds, System.Action{OfficeIMO.Visio.VisioSelectionLayoutOptions} configureOptions) #Relays out existing shapes by id into a deterministic grid using inline option configuration.
Parameters
- shapeIds System.Collections.Generic.IEnumerable{System.String}
- Shape ids to relayout.
- configureOptions System.Action{OfficeIMO.Visio.VisioSelectionLayoutOptions}
- Option callback.
public VisioFluentPage RelayoutShapesAsHorizontalStack(IEnumerable<String> shapeIds, Double spacing = 0.5, Boolean routeInternalConnectors = true) #VisioFluentPageRelays out existing shapes by id as a horizontal row and optionally reroutes internal connectors.
Parameters
- shapeIds System.Collections.Generic.IEnumerable{System.String}
- Shape ids to relayout.
- spacing System.Double = 0.5
- Horizontal spacing between shapes in inches.
- routeInternalConnectors System.Boolean = true
- Whether connectors whose endpoints are both selected should be rerouted orthogonally.
public VisioFluentPage RelayoutShapesAsVerticalStack(IEnumerable<String> shapeIds, Double spacing = 0.5, Boolean routeInternalConnectors = true) #VisioFluentPageRelays out existing shapes by id as a vertical stack and optionally reroutes internal connectors.
Parameters
- shapeIds System.Collections.Generic.IEnumerable{System.String}
- Shape ids to relayout.
- spacing System.Double = 0.5
- Vertical spacing between shapes in inches.
- routeInternalConnectors System.Boolean = true
- Whether connectors whose endpoints are both selected should be rerouted orthogonally.
public VisioFluentPage RelayoutSwimlanes(Action<VisioSwimlaneRelayoutOptions> configureOptions) #VisioFluentPageRe-centers and stacks swimlane activities inside their current lane/phase cells.
Parameters
- options OfficeIMO.Visio.VisioSwimlaneRelayoutOptions = null
RelayoutSwimlanes(System.Action{OfficeIMO.Visio.VisioSwimlaneRelayoutOptions} configureOptions) #Re-centers and stacks swimlane activities using inline relayout options.
Parameters
- configureOptions System.Action{OfficeIMO.Visio.VisioSwimlaneRelayoutOptions}
public VisioFluentPage RemoveComment(Int32 commentId) #VisioFluentPageRemoves a native Visio comment by its page-scoped identifier.
Parameters
- commentId System.Int32
public VisioFluentPage RemoveFromContainer(String containerId, IEnumerable<String> memberIds, Boolean resizeToFit = true, VisioContainerOptions resizeOptions = null) #VisioFluentPageRemoves existing shapes from a Visio-native container.
Parameters
- containerId System.String
- memberIds System.Collections.Generic.IEnumerable{System.String}
- resizeToFit System.Boolean = true
- resizeOptions OfficeIMO.Visio.VisioContainerOptions = null
public VisioFluentPage RemoveFromContainer(String containerId, IEnumerable<String> memberIds, Action<VisioContainerOptions> configureResizeOptions) #VisioFluentPageRemoves existing shapes from a Visio-native container using inline resize option configuration.
Parameters
- containerId System.String
- memberIds System.Collections.Generic.IEnumerable{System.String}
- configureResizeOptions System.Action{OfficeIMO.Visio.VisioContainerOptions}
public VisioFluentPage ReopenComment(Int32 commentId, Nullable<DateTimeOffset> editedAt = null) #VisioFluentPageReopens a native Visio comment by its page-scoped identifier.
Parameters
- commentId System.Int32
- editedAt System.Nullable{System.DateTimeOffset} = null
public VisioFluentPage ReplaceMaster(String shapeId, VisioStencilShape stencil, Boolean resizeToMaster = false) #VisioFluentPageReplaces the master for a known shape id while preserving page placement, text, metadata, and connector endpoints.
Parameters
- shapeId System.String
- masterNameU System.String
- resizeToMaster System.Boolean = false
ReplaceMaster(System.String shapeId, OfficeIMO.Visio.VisioMaster master, System.Boolean resizeToMaster) #Replaces the master for a known shape id using an existing master instance.
Parameters
- shapeId System.String
- master OfficeIMO.Visio.VisioMaster
- resizeToMaster System.Boolean
ReplaceMaster(System.String shapeId, OfficeIMO.Visio.Stencils.VisioStencilShape stencil, System.Boolean resizeToMaster) #Replaces the master for a known shape id using an OfficeIMO stencil definition.
Parameters
- shapeId System.String
- stencil OfficeIMO.Visio.Stencils.VisioStencilShape
- resizeToMaster System.Boolean
public VisioFluentPage ReplaceMasters(Func<VisioShape, Boolean> predicate, VisioStencilShape stencil, Boolean resizeToMaster = false) #VisioFluentPageReplaces the master for every selected shape.
Parameters
- predicate System.Func{OfficeIMO.Visio.VisioShape,System.Boolean}
- masterNameU System.String
- resizeToMaster System.Boolean = false
ReplaceMasters(System.Func{OfficeIMO.Visio.VisioShape,System.Boolean} predicate, OfficeIMO.Visio.VisioMaster master, System.Boolean resizeToMaster) #Replaces the master for every selected shape using an existing master instance.
Parameters
- predicate System.Func{OfficeIMO.Visio.VisioShape,System.Boolean}
- master OfficeIMO.Visio.VisioMaster
- resizeToMaster System.Boolean
ReplaceMasters(System.Func{OfficeIMO.Visio.VisioShape,System.Boolean} predicate, OfficeIMO.Visio.Stencils.VisioStencilShape stencil, System.Boolean resizeToMaster) #Replaces the master for every selected shape using an OfficeIMO stencil definition.
Parameters
- predicate System.Func{OfficeIMO.Visio.VisioShape,System.Boolean}
- stencil OfficeIMO.Visio.Stencils.VisioStencilShape
- resizeToMaster System.Boolean
public VisioFluentPage ReplaceMastersByMaster(String currentMasterNameU, VisioStencilShape replacementStencil, Boolean resizeToMaster = false, StringComparison comparison = OrdinalIgnoreCase) #VisioFluentPageReplaces shapes using a matching current master universal name.
Parameters
- currentMasterNameU System.String
- replacementMasterNameU System.String
- resizeToMaster System.Boolean = false
- comparison System.StringComparison = OrdinalIgnoreCase
ReplaceMastersByMaster(System.String currentMasterNameU, OfficeIMO.Visio.Stencils.VisioStencilShape replacementStencil, System.Boolean resizeToMaster, System.StringComparison comparison) #Replaces shapes using a matching current master universal name and an OfficeIMO stencil definition.
Parameters
- currentMasterNameU System.String
- replacementStencil OfficeIMO.Visio.Stencils.VisioStencilShape
- resizeToMaster System.Boolean
- comparison System.StringComparison
public VisioFluentPage ResizePageToFitLayout(Boolean enabled = true) #VisioFluentPageEnables or disables enlarging the page after Visio lays out shapes.
Parameters
- enabled System.Boolean = true
- Whether Visio should resize the page after layout.
public VisioFluentPage ResolveComment(Int32 commentId, Nullable<DateTimeOffset> editedAt = null) #VisioFluentPageMarks a native Visio comment as done by its page-scoped identifier.
Parameters
- commentId System.Int32
- editedAt System.Nullable{System.DateTimeOffset} = null
public VisioFluentPage ResolveShapeOverlaps(Double step = 0.25, Int32 maxAttempts = 24, Boolean includeContainers = false) #VisioFluentPageMoves overlapping top-level shapes apart using deterministic page cleanup.
Parameters
- step System.Double = 0.25
- maxAttempts System.Int32 = 24
- includeContainers System.Boolean = false
public VisioFluentPage Shape(String id, Action<VisioFluentShape> configure) #VisioFluentPageConfigures an existing shape (text, stroke, fill, etc.).
Parameters
- id System.String
- configure System.Action{OfficeIMO.Visio.Fluent.VisioFluentShape}
public VisioFluentPage ShapeComments(String shapeId, Action<IReadOnlyList<VisioComment>> configure) #VisioFluentPageConfigures native Visio comments attached to a shape or connector identifier.
Parameters
- shapeId System.String
- configure System.Action{System.Collections.Generic.IReadOnlyList{OfficeIMO.Visio.VisioComment}}
public VisioFluentPage Shapes(Action<VisioShapeSelection> configure) #VisioFluentPageConfigures all shapes on the page, including grouped children.
Parameters
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
- Configuration to apply to the selected shapes.
public VisioFluentPage Shapes(Func<VisioShape, Boolean> predicate, Action<VisioShapeSelection> configure) #VisioFluentPageSelects shapes with a strongly typed predicate and configures the stable selection.
Parameters
- predicate System.Func{OfficeIMO.Visio.VisioShape,System.Boolean}
- Predicate used to select shapes.
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
- Configuration to apply to the selected shapes.
public VisioFluentPage ShapesByMaster(String masterNameU, Action<VisioShapeSelection> configure, StringComparison comparison = OrdinalIgnoreCase) #VisioFluentPageSelects shapes created from a matching master universal name and configures them.
Parameters
- masterNameU System.String
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
- comparison System.StringComparison = OrdinalIgnoreCase
public VisioFluentPage ShapesByName(String name, Action<VisioShapeSelection> configure, StringComparison comparison = OrdinalIgnoreCase) #VisioFluentPageSelects shapes with a matching shape name and configures them.
Parameters
- name System.String
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
- comparison System.StringComparison = OrdinalIgnoreCase
public VisioFluentPage ShapesByNameU(String nameU, Action<VisioShapeSelection> configure, StringComparison comparison = OrdinalIgnoreCase) #VisioFluentPageSelects shapes with a matching universal shape name and configures them.
Parameters
- nameU System.String
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
- comparison System.StringComparison = OrdinalIgnoreCase
public VisioFluentPage ShapesContainedIn(VisioShapeBounds bounds, Action<VisioShapeSelection> configure) #VisioFluentPageSelects shapes fully contained by the provided page-coordinate bounds and configures them.
Parameters
- bounds OfficeIMO.Visio.VisioShapeBounds
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
public VisioFluentPage ShapesContainedIn(String containerId, Action<VisioShapeSelection> configure, Boolean includeContainer = false) #VisioFluentPageSelects shapes fully contained by a reference shape and configures them.
Parameters
- containerId System.String
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
- includeContainer System.Boolean = false
public VisioFluentPage ShapesContainingText(String text, Action<VisioShapeSelection> configure, StringComparison comparison = OrdinalIgnoreCase) #VisioFluentPageSelects shapes whose text contains the provided value and configures them.
Parameters
- text System.String
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
- comparison System.StringComparison = OrdinalIgnoreCase
public VisioFluentPage ShapesInLayer(String layerName, Action<VisioShapeSelection> configure, StringComparison comparison = OrdinalIgnoreCase) #VisioFluentPageSelects shapes in a page layer and configures them.
Parameters
- layerName System.String
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
- comparison System.StringComparison = OrdinalIgnoreCase
public VisioFluentPage ShapesIntersecting(VisioShapeBounds bounds, Action<VisioShapeSelection> configure) #VisioFluentPageSelects shapes whose bounds intersect the provided page-coordinate bounds and configures them.
Parameters
- bounds OfficeIMO.Visio.VisioShapeBounds
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
public VisioFluentPage ShapesIntersecting(String shapeId, Action<VisioShapeSelection> configure, Boolean includeSelf = false) #VisioFluentPageSelects shapes whose bounds intersect a reference shape and configures them.
Parameters
- shapeId System.String
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
- includeSelf System.Boolean = false
public VisioFluentPage ShapeSplitting(Boolean enabled = true) #VisioFluentPageEnables or disables automatic shape splitting on this page.
Parameters
- enabled System.Boolean = true
- Whether automatic shape splitting is enabled.
public VisioFluentPage ShapesWithData(String key, String value, Action<VisioShapeSelection> configure, StringComparison comparison = OrdinalIgnoreCase) #VisioFluentPageSelects shapes with a matching Shape Data value and configures them.
Parameters
- key System.String
- value System.String
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
- comparison System.StringComparison = OrdinalIgnoreCase
public VisioFluentPage ShapesWithData(String key, Func<String, Boolean> predicate, Action<VisioShapeSelection> configure) #VisioFluentPageSelects shapes whose Shape Data value matches a predicate and configures them.
Parameters
- key System.String
- predicate System.Func{System.String,System.Boolean}
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
public VisioFluentPage ShapesWithHyperlink(String address, Action<VisioShapeSelection> configure, StringComparison comparison = OrdinalIgnoreCase) #VisioFluentPageSelects shapes with a matching hyperlink address and configures them.
Parameters
- address System.String
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
- comparison System.StringComparison = OrdinalIgnoreCase
public VisioFluentPage ShapesWithHyperlinks(Action<VisioShapeSelection> configure) #VisioFluentPageSelects shapes with at least one hyperlink and configures them.
Parameters
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
public VisioFluentPage ShapesWithProtection(Action<VisioShapeSelection> configure) #VisioFluentPageSelects shapes with any explicit protection cell and configures them.
Parameters
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
public VisioFluentPage ShapesWithProtection(Func<VisioShapeProtection, Boolean> predicate, Action<VisioShapeSelection> configure) #VisioFluentPageSelects shapes whose protection state matches a predicate and configures them.
Parameters
- predicate System.Func{OfficeIMO.Visio.VisioShapeProtection,System.Boolean}
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
public VisioFluentPage ShapesWithShapeData(String name, String value, Action<VisioShapeSelection> configure, StringComparison comparison = OrdinalIgnoreCase) #VisioFluentPageSelects shapes with a matching typed Shape Data value and configures them.
Parameters
- name System.String
- value System.String
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
- comparison System.StringComparison = OrdinalIgnoreCase
public VisioFluentPage ShapesWithUserCell(String name, Action<VisioShapeSelection> configure) #VisioFluentPageSelects shapes that contain a Visio User cell and configures them.
Parameters
- name System.String
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
public VisioFluentPage ShapesWithUserCell(String name, String value, Action<VisioShapeSelection> configure, StringComparison comparison = OrdinalIgnoreCase) #VisioFluentPageSelects shapes with a matching Visio User cell value and configures them.
Parameters
- name System.String
- value System.String
- configure System.Action{OfficeIMO.Visio.VisioShapeSelection}
- comparison System.StringComparison = OrdinalIgnoreCase
public VisioFluentPage Size(Double width, Double height, VisioMeasurementUnit unit = Inches) #VisioFluentPageSets page size.
Parameters
- width System.Double
- Width value in the specified unit.
- height System.Double
- Height value in the specified unit.
- unit OfficeIMO.Visio.VisioMeasurementUnit = Inches
- Measurement unit (defaults to inches).
public VisioFluentPage Square(String id, Double x, Double y, Double size, String text = null) #VisioFluentPageAdds a square shape (width = height = size).
Parameters
- id System.String
- x System.Double
- y System.Double
- size System.Double
- text System.String = null
public VisioFluentPage Stencil(String id, VisioStencilShape stencil, Double x, Double y, String text = null) #VisioFluentPageAdds a shape from an OfficeIMO-native stencil definition using its default size.
Parameters
- id System.String
- stencil OfficeIMO.Visio.Stencils.VisioStencilShape
- x System.Double
- y System.Double
- text System.String = null
public VisioFluentPage Stencil(String id, VisioStencilShape stencil, Double x, Double y, Double width, Double height, String text = null) #VisioFluentPageAdds a shape from an OfficeIMO-native stencil definition using an explicit size.
Parameters
- id System.String
- stencil OfficeIMO.Visio.Stencils.VisioStencilShape
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
public VisioFluentPage Stencil(String id, VisioStencilCatalog catalog, String stencilIdOrName, Double x, Double y, String text = null) #VisioFluentPageAdds a shape from an OfficeIMO-native stencil catalog using its default size.
Parameters
- id System.String
- catalog OfficeIMO.Visio.Stencils.VisioStencilCatalog
- stencilIdOrName System.String
- x System.Double
- y System.Double
- text System.String = null
public VisioFluentPage Stencil(String id, String stencilIdOrName, Double x, Double y, String text = null) #VisioFluentPageAdds a shape from the combined built-in stencil catalog using its default size.
Parameters
- id System.String
- stencilIdOrName System.String
- x System.Double
- y System.Double
- text System.String = null
public VisioFluentPage Stencil(String id, String stencilIdOrName, Double x, Double y, Double width, Double height, String text = null) #VisioFluentPageAdds a shape from the combined built-in stencil catalog using an explicit size.
Parameters
- id System.String
- stencilIdOrName System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
public VisioFluentPage StyleContainer(String containerId, VisioShapeStyle style, Boolean refit = false) #VisioFluentPageApplies a reusable visual style to an existing Visio-native container.
Parameters
- containerId System.String
- style OfficeIMO.Visio.VisioShapeStyle
- refit System.Boolean = false
public VisioFluentPage SwimlaneActivities(Action<IReadOnlyList<VisioSwimlaneActivityPlacement>> inspect) #VisioFluentPageInspects discovered swimlane activity placements on the current page.
Parameters
- inspect System.Action{System.Collections.Generic.IReadOnlyList{OfficeIMO.Visio.VisioSwimlaneActivityPlacement}}
public VisioFluentPage TextBox(String id, Double x, Double y, Double width, Double height, String text = null, Action<VisioFluentShape> configure = null) #VisioFluentPageAdds an editable text box without a visible border or fill.
Parameters
- id System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
- configure System.Action{OfficeIMO.Visio.Fluent.VisioFluentShape} = null
public VisioFluentPage Title(String text, String id = "title", Double height = 0.5, Double topMargin = 0.35, Action<VisioFluentShape> configure = null) #VisioFluentPageAdds a centered page title near the top of the page.
Parameters
- text System.String
- id System.String = "title"
- height System.Double = 0.5
- topMargin System.Double = 0.35
- configure System.Action{OfficeIMO.Visio.Fluent.VisioFluentShape} = null
public VisioFluentPage Trapezoid(String id, Double x, Double y, Double width, Double height, String text = null) #VisioFluentPageAdds a trapezoid shape.
Parameters
- id System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
public VisioFluentPage Triangle(String id, Double x, Double y, Double width, Double height, String text = null) #VisioFluentPageAdds an isosceles triangle with explicit width and height.
Parameters
- id System.String
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- text System.String = null
public VisioFluentPage UiVisibility(VisioPageUiVisibility visibility) #VisioFluentPageShows or hides the page name in Visio UI page lists.
Parameters
- visibility OfficeIMO.Visio.VisioPageUiVisibility
- Page UI visibility.
public VisioFluentPage UpdateComment(Int32 commentId, String text, Nullable<DateTimeOffset> editedAt = null) #VisioFluentPageUpdates a native Visio comment by its page-scoped identifier.
Parameters
- commentId System.Int32
- text System.String
- editedAt System.Nullable{System.DateTimeOffset} = null
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object