ITextFrameFormat
概述
ITextFrameFormat 是 Aspose.Slides FOSS 中用于 .NET 的接口。
包含 TextFrame 的格式属性。
属性:AnchoringType、AsIPresentationComponent、AutofitType、CenterText、ColumnCount、ColumnSpacing,以及另外 12 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
MarginLeft | float | 读写 | 返回或设置 TextFrame 中的左边距(点)。 |
MarginRight | float | 读写 | 返回或设置 TextFrame 中的右边距(点)。 |
MarginTop | float | 读写 | 返回或设置 TextFrame 中的上边距(points)。 |
MarginBottom | float | 读写 | 返回或设置 TextFrame 中的下边距(points)。 |
WrapText | NullableBool | 读写 | 如果文本在 TextFrame 的边距处换行,则为 True。 |
AnchoringType | TextAnchorType | 读写 | 返回或设置文本锚定类型。 |
CenterText | NullableBool | 读写 | 返回或设置文本是否在框中水平居中。 |
TextVerticalType | TextVerticalType | 读写 | 返回或设置文本的垂直方向类型。 |
AutofitType | TextAutofitType | 读写 | 返回或设置文本自动适应类型。 |
ColumnCount | int | 读写 | 返回或设置文本区域的列数。 |
ColumnSpacing | float | 读写 | 返回或设置文本区域中列之间的间距(以点为单位)。 |
RotationAngle | float | 读写 | 返回或设置在边界框内应用于文本的旋转角度。 |
Transform | TextShapeType | 读写 | 返回或设置文本换行形状(预设文本扭曲)。 |
KeepTextFlat | bool | 读写 | 返回或设置,使文本完全不出现在 3D 场景中。 |
ThreeDFormat | IThreeDFormat | 读取 | 返回文本主体的 IThreeDFormat。 |
Slide | IBaseSlide? | 读取 | 返回拥有此文本框架格式的父幻灯片。 |
Presentation | IPresentation? | 读取 | 返回包含文本框的演示文稿。 |
AsIPresentationComponent | IPresentationComponent | 读取 | 返回此实例作为一个 IPresentationComponent。 |