DiagramShape class
Leave feedback
On this page
Represents a drawing shape in a Visio document.
The DiagramShape type exposes the following members:
| Property | Description |
|---|---|
| formatted_text_fragments | The collection of formatted text fragments of this DiagramShape. |
| height | The height of this DiagramShape in points. |
| hyperlinks | The collection of hyperlinks attached to this DiagramShape. |
| id | The identifier of this DiagramShape. |
| image | The image of this DiagramShape. Returns None if the shape has no image. |
| name | The name of this DiagramShape. |
| page | The parent page of this DiagramShape. |
| rotate_angle | The rotate angle of this DiagramShape in degrees. |
| text | The text of this DiagramShape. |
| width | The width of this DiagramShape in points. |
| x | The horizontal offset of this DiagramShape from the page left border in points. |
| y | The vertical offset of this DiagramShape from the page bottom border in points. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.