GetTextRect
TextFrame.GetTextRect method
Gets the text rectangle defined by the geometry of the parent shape.
public RectangleF GetTextRect()
Return Value
A RectangleF that defines the text area.
Exceptions
| exception | condition |
|---|---|
| InvalidOperationException | The text frame is not associated with a geometry shape. |
Remarks
The rectangle coordinates are relative to the top-left corner of the parent shape.
See Also
- class TextFrame
- namespace Aspose.Slides
- assembly Aspose.Slides