Selection.VisualBoundingBox method (Visio)
Returns the bounding rectangle of the virtual container that has all the shapes of the given selection. Introduced in Office 2016.
expression.VisualBoundingBox (Flags, lpr8Left, lpr8Bottom, lpr8Right, lpr8Top)
expression A variable that represents a Selection object.
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. |
VOID
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.