Shape module

class Shape.Shape

Bases: ShapeBase, IDocumentObject

Represents a shape in a document.

property DocumentObjectType: DocumentObjectType

Gets the document object type of the shape.

property FirstParagraph: Paragraph

Gets the first paragraph in the shape.

property HasChart: bool

Returns True if the shape has a chart.

property HasImage: bool

Returns True if the shape has an image.

property LastParagraph: Paragraph

Gets the last paragraph in the shape.