TextFrameFormat

TextFrameFormat class

Contains the TextFrame’s formatTextFrameFormatting properties.

The TextFrameFormat type exposes the following members:

Constructors

Name Description
TextFrameFormat() Initializes a new instance of TextFrameFormat class.

Properties

Name Description
as_i_presentation_component Allows to get base IPresentationComponent interface.
Read-only IPresentationComponent.
three_d_format Returns the ThreeDFormat object that represents 3d effect properties for a text.
Read-only IThreeDFormat.
margin_left Returns or sets the left margin (points) in a TextFrame.
Read/write float.
margin_right Returns or sets the right margin (points) in a TextFrame.
Read/write float.
margin_top Returns or sets the top margin (points) in a TextFrame.
Read/write float.
margin_bottom Returns or sets the bottom margin (points) in a TextFrame.
Read/write float.
wrap_text True if text is wrapped at TextFrame’s margins.
Read/write NullableBool.
anchoring_type Returns or sets vertical anchor text in a TextFrameEx.
Read/write TextAnchorType.
center_text If NullableBool.True then text should be centered in box horizontally.
Read/write NullableBool.
text_vertical_type Determines text orientation.
The resulted value of visual text rotation summarized from this property and custom angle
in property RotationAngle.
Read/write TextVerticalType.
autofit_type Returns or sets text’s autofit mode.
Read/write TextAutofitType.
column_count Returns or sets number of columns in the text area.
This value must be a positive number. Otherwise, the value will be set to zero.
Value 0 means undefined value.
Read/write
column_spacing Returns or sets the space between text columns in the text area (in points). This should only apply
when there is more than 1 column present.
This value must be a positive number. Otherwise, the value will be set to zero.
Read/write float.
rotation_angle Specifies custom the rotation that is being applied to the text within the bounding box. If it not
specified, the rotation of the accompanying shape is used. If it is specified, then this is
applied independently from the shape. That is the shape can have a rotation applied in
addition to the text itself having a rotation applied to it.
The resulted value of visual text rotation summarized from this property and predefined
vertical type in property TextVerticalType.
Read/write
transform Gets or sets text wrapping shape.
Read/write TextShapeType.
keep_text_flat Gets or sets keeping text flat even if a 3-D Rotation effect was applied.
Read/write bool.
slide Returns the base slide.
Read-only IBaseSlide.
presentation Returns the presentation.
Read-only IPresentation.
text_style Returns text’s style.
Read-only ITextStyle.

Methods

Name Description
get_effective() Gets effective text frame formatting data with the inheritance applied.

See Also