Author Topic: Is there a way to get a specific Shape's bounding box from the shapesheet?  (Read 6952 times)

0 Members and 1 Guest are viewing this topic.

Visisthebest

  • Hero Member
  • *****
  • Posts: 865
I use Shape.BoundingBox regularly to get the boundingbox of a shape with its data graphics:
https://docs.microsoft.com/en-us/office/vba/api/visio.shape.boundingbox

with this flag:
visBBoxIncludeDataGraphics   &H10000   Includes data-graphic callout shapes (and their sub-shapes) that are applied to the shape. Off by default.

Is it also possible to read this information from the shapesheet?

Use case: I want to know the size of the shape with its data graphics included.
Visio 2021 Professional

Surrogate

  • Hero Member
  • *****
  • Posts: 1809
    • ShapeSheet™ Knowledge Base

Visisthebest

  • Hero Member
  • *****
  • Posts: 865
Thank you Surrogate!
Visio 2021 Professional