TextFrameFormat
General
TextFrameFormat és una classe en Aspose.Slides FOSS per a C++.
Representa propietats de formatatge d’un marc de text.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
NullableBool | NullableBool | Read | Property gets or sets the NullableBool value of the text frame format |
TextAnchorType | TextAnchorType | Read | Returns the anchor position (top, middle, bottom) for the text |
TextVerticalType | TextVerticalType | Read | Returns the vertical orientation type of the text |
TextAutofitType | TextAutofitType | Read | Property gets or sets the autofit behavior for the text frame |
ThreeDFormat | ThreeDFormat | Read | Property gets or sets the ThreeDFormat describing 3D settings |
TextShapeType | TextShapeType | Read | Property gets or sets the shape type used for the text frame |
Mètodes
| Signature | Description |
|---|---|
NullableBool() → NullableBool | Property gets or sets the NullableBool value of the text frame format |
TextAnchorType() → TextAnchorType | Returns the anchor position (top, middle, bottom) for the text |
NullableBool() → NullableBool | |
TextVerticalType() → TextVerticalType | Returns the vertical orientation type of the text |
TextAutofitType() → TextAutofitType | Property gets or sets the autofit behavior for the text frame |
ThreeDFormat() → ThreeDFormat | Property gets or sets the ThreeDFormat describing 3D settings |
ThreeDFormat() → ThreeDFormat | |
TextShapeType() → TextShapeType | Property gets or sets the shape type used for 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. |