DiagramShape class

DiagramShape class

Represents a drawing shape in a Visio document.

The DiagramShape type exposes the following members:

Properties

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.

See Also