TextFrameFormat
Overview
TextFrameFormat is a class in Aspose.Slides FOSS for C++.
Represents text frame formatting properties.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
NullableBool | NullableBool | Read | Returns the nullable boolean indicating a specific text frame setting |
TextAnchorType | TextAnchorType | Read | Property gets or sets the text anchor alignment within the frame |
TextVerticalType | TextVerticalType | Read | Property gets or sets the vertical text orientation |
TextAutofitType | TextAutofitType | Read | Property gets or sets the autofit behavior for the text |
ThreeDFormat | ThreeDFormat | Read | Property provides access to the 3D formatting of the text frame |
TextShapeType | TextShapeType | Read | Property gets or sets the shape type of the text frame |
Methods
| Signature | Description |
|---|---|
NullableBool() → NullableBool | Returns the nullable boolean indicating a specific text frame setting |
TextAnchorType() → TextAnchorType | Property gets or sets the text anchor alignment within the frame |
NullableBool() → NullableBool | |
TextVerticalType() → TextVerticalType | Property gets or sets the vertical text orientation |
TextAutofitType() → TextAutofitType | Property gets or sets the autofit behavior for the text |
ThreeDFormat() → ThreeDFormat | Property provides access to the 3D formatting of the text frame |
ThreeDFormat() → ThreeDFormat | |
TextShapeType() → TextShapeType | Property gets or sets the shape type of the text frame |
init_internal(txbody_element: pugi::xml_node, save_callback: std::function<void()>) | Initialize from an existing XML node. |
get_body_pr() → pugi::xml_node | Find the child of the txBody element. |
ensure_body_pr() → pugi::xml_node | Find or create the child of the txBody element. |
save() | Persist changes via the save callback. |
get_margin(attr: std::string_view, default_emu: int) → double | Read a margin attribute from bodyPr and convert EMU to points. |
set_margin(attr: std::string_view, value: double) | Write a margin value (in points) to bodyPr as an EMU attribute. |
resize_shape_to_fit_text(body_pr: pugi::xml_node) | Resize the parent shape to fit text content, preserving vertical center. |