TextFrameFormat

TextFrameFormat

概述

TextFrameFormat 是 Aspose.Slides FOSS 为 Python 提供的一个类。继承自:PVIObject、ISlideComponent、IPresentationComponent。

包含 TextFrame 的 formatTextFrameFormatting 属性。

此类提供 1 个方法,用于在 Python 程序中处理 TextFrameFormat 对象。可用的方法包括:__init__。在安装 Aspose.Slides FOSS 为 Python 提供的软件包后,所有公共成员对任何 Python 应用程序均可访问。属性包括:anchoring_type、as_i_presentation_component、autofit_type、center_text、column_count、column_spacing,以及另外 12 项。

属性

名称类型访问描述
slideIBaseSlide读取获取幻灯片。
presentationIPresentation读取获取演示文稿。
as_i_presentation_componentIPresentationComponent读取获取 as i 演示组件。
margin_leftfloat读写返回或设置 TextFrame 中的左边距(点)。
margin_rightfloat读写返回或设置 TextFrame 中的右边距(点)。
margin_topfloat读写返回或设置 TextFrame 中的上边距(点)。
margin_bottomfloat读写返回或设置 TextFrame 中的底部边距(点)。
wrap_textNullableBool读写如果文本在 TextFrame 的边距处换行,则为 True。
anchoring_typeTextAnchorType读写返回或设置 TextFrame 中的垂直锚文本。
center_textNullableBool读写如果 NullableBool.True,则文本应在盒子中水平居中。
text_vertical_typeTextVerticalType读写确定文本方向。
autofit_typeTextAutofitType读写返回或设置文本的自动适应模式。
column_countint读写返回或设置文本区域的列数。
column_spacingfloat读写返回或设置文本列之间的间距(单位:磅)。
rotation_anglefloat读写指定在边界框内应用于文本的自定义旋转。
transformTextShapeType读写获取或设置文本换行形状。
keep_text_flatbool读写获取或设置,即使已应用 3-D 旋转效果,也保持文本平面。
three_d_formatIThreeDFormat读取返回表示文本的 3d 效果属性的 ThreeDFormat 对象。

方法

签名描述
__init__()

另请参阅

 中文