Page.VisualBoundingBox method (Visio)
Returns the bounding rectangle of the virtual container that has all the shapes of the given page. Introduced in Office 2016.
Syntax
expression.VisualBoundingBox (Flags, lpr8Left, lpr8Bottom, lpr8Right, lpr8Top)
expression A variable that represents a Page object.
Parameters
Name | Optional/Requires | Data Type | Description |
---|---|---|---|
Flags | Required | INT16 | A VisBoundingBoxArgs constant that describes the returned rectangle. |
lpr8Left | Required | DOUBLE | Left position values for the virtual bounding box. |
lpr8Bottom | Required | DOUBLE | Bottom position values for the virtual bounding box. |
lpr8Right | Required | DOUBLE | Right position values for the virtual bounding box. |
lpr8Top | Required | DOUBLE | Top position values for the virtual bounding box. |
Return value
VOID
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.