TextFrameFormat

General

TextFrameFormat és una classe en Aspose.Slides FOSS per a C++.

Representa propietats de formatatge d’un marc de text.

Propietats

NameTypeAccessDescription
NullableBoolNullableBoolReadProperty gets or sets the NullableBool value of the text frame format
TextAnchorTypeTextAnchorTypeReadReturns the anchor position (top, middle, bottom) for the text
TextVerticalTypeTextVerticalTypeReadReturns the vertical orientation type of the text
TextAutofitTypeTextAutofitTypeReadProperty gets or sets the autofit behavior for the text frame
ThreeDFormatThreeDFormatReadProperty gets or sets the ThreeDFormat describing 3D settings
TextShapeTypeTextShapeTypeReadProperty gets or sets the shape type used for the text frame

Mètodes

SignatureDescription
NullableBool()NullableBoolProperty gets or sets the NullableBool value of the text frame format
TextAnchorType()TextAnchorTypeReturns the anchor position (top, middle, bottom) for the text
NullableBool()NullableBool
TextVerticalType()TextVerticalTypeReturns the vertical orientation type of the text
TextAutofitType()TextAutofitTypeProperty gets or sets the autofit behavior for the text frame
ThreeDFormat()ThreeDFormatProperty gets or sets the ThreeDFormat describing 3D settings
ThreeDFormat()ThreeDFormat
TextShapeType()TextShapeTypeProperty 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_nodeFind the child of the txBody element.
ensure_body_pr()pugi::xml_nodeFind or create the child of the txBody element.
save()Persist changes via the save callback.
get_margin(attr: std::string_view, default_emu: int)doubleRead 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.
 Català