get_text_rect method

get_text_rect(self)

Gets the text rectangle defined by the geometry of the parent shape.

Returns

A RectangleF that defines the text area.

def get_text_rect(self):
    ...

Remarks

The rectangle coordinates are relative to the top-left corner of the parent shape.

See Also