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 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
slide | IBaseSlide | 读取 | 获取幻灯片。 |
presentation | IPresentation | 读取 | 获取演示文稿。 |
as_i_presentation_component | IPresentationComponent | 读取 | 获取 as i 演示组件。 |
margin_left | float | 读写 | 返回或设置 TextFrame 中的左边距(点)。 |
margin_right | float | 读写 | 返回或设置 TextFrame 中的右边距(点)。 |
margin_top | float | 读写 | 返回或设置 TextFrame 中的上边距(点)。 |
margin_bottom | float | 读写 | 返回或设置 TextFrame 中的底部边距(点)。 |
wrap_text | NullableBool | 读写 | 如果文本在 TextFrame 的边距处换行,则为 True。 |
anchoring_type | TextAnchorType | 读写 | 返回或设置 TextFrame 中的垂直锚文本。 |
center_text | NullableBool | 读写 | 如果 NullableBool.True,则文本应在盒子中水平居中。 |
text_vertical_type | TextVerticalType | 读写 | 确定文本方向。 |
autofit_type | TextAutofitType | 读写 | 返回或设置文本的自动适应模式。 |
column_count | int | 读写 | 返回或设置文本区域的列数。 |
column_spacing | float | 读写 | 返回或设置文本列之间的间距(单位:磅)。 |
rotation_angle | float | 读写 | 指定在边界框内应用于文本的自定义旋转。 |
transform | TextShapeType | 读写 | 获取或设置文本换行形状。 |
keep_text_flat | bool | 读写 | 获取或设置,即使已应用 3-D 旋转效果,也保持文本平面。 |
three_d_format | IThreeDFormat | 读取 | 返回表示文本的 3d 效果属性的 ThreeDFormat 对象。 |
方法
| 签名 | 描述 |
|---|---|
__init__() |