WordProcessingShape class

WordProcessingShape class

Represents a drawing shape in a Word document.

The WordProcessingShape type exposes the following members:

Properties

Property Description
alternative_text The descriptive (alternative) text associated with this WordProcessingShape.
behind_text The value indicating whether the shape is behind the text; True if the shape is behind the text, otherwise False.
formatted_text_fragments The collection of formatted text fragments of this WordProcessingShape.
header_footer The parent header/footer of this WordProcessingShape.
height The height of this WordProcessingShape in points.
horizontal_alignment The horizontal alignment of the shape. Specifies how the shape is positioned horizontally.
hyperlink The hyperlink associated with this WordProcessingShape.
image The image of this WordProcessingShape. Returns None if the shape has no image.
is_word_art The property indicates whether the shape is a WordArt object.
name The name of this WordProcessingShape.
relative_horizontal_position The relative horizontal position value specifying where the shape is positioned horizontally.
relative_vertical_position The relative vertical position of the shape, specifying how the shape is positioned vertically.
rotate_angle The rotate angle of this WordProcessingShape in degrees.
section The parent section of this WordProcessingShape.
shape_type The shape type.
text The text of this WordProcessingShape.
vertical_alignment The vertical alignment of the shape.
width The width of this WordProcessingShape in points.
x The horizontal offset of this WordProcessingShape from the page left border in points.
y The y-coordinate of this WordProcessingShape from the page top border in points.

See Also