ITextFrameFormat
概述
ITextFrameFormat 是 Aspose.Slides FOSS 中用于 Java 的接口。
表示文本帧的格式。
此接口提供 29 种方法,用于在 Java 程序中处理 ITextFrameFormat 对象。可用的方法包括:getAnchoringType、getAutofitType、getCenterText、getColumnCount、getColumnSpacing、getMarginBottom、getMarginLeft、getMarginRight、getMarginTop、getRotationAngle、getTextVerticalType、getThreeDFormat,以及另外 17 种方法。所有公共成员在安装 Aspose.Slides FOSS for Java 包后,对任何 Java 应用程序均可访问。属性:anchoringType、autofitType、centerText、columnCount、columnSpacing、keepTextFlat,以及另外 9 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
marginLeft | double | 读取 | 返回左边距(单位:点)。 |
marginRight | double | 读取 | 返回右边距(单位:点)。 |
marginTop | double | 读取 | 返回顶部边距(以点为单位)。 |
marginBottom | double | 读取 | 返回底部边距(以点为单位)。 |
wrapText | NullableBool | 读取 | 返回文本换行标志。 |
anchoringType | TextAnchorType | 读取 | 返回文本锚定类型。 |
centerText | NullableBool | 读取 | 返回文本居中模式。 |
textVerticalType | TextVerticalType | 读取 | 返回文本垂直类型。 |
autofitType | TextAutofitType | 读取 | 返回文本自动适应类型。 |
columnCount | int | 读取 | 返回列数。 |
columnSpacing | double | 读取 | 返回列之间的间距(以点为单位)。 |
threeDFormat | IThreeDFormat | 读取 | 返回文本框的 3D 格式。 |
keepTextFlat | boolean | 读取 | 返回文本是否保持平面。 |
rotationAngle | double | 读取 | 返回文本的旋转角度(单位:度)。 |
transform | TextShapeType | 读取 | 返回文本变换形状的类型。 |
方法
| 签名 | 描述 |
|---|---|
getMarginLeft() → double | 返回左边距(单位:点)。 |
setMarginLeft(value: double) | 将左边距设置为点。 |
getMarginRight() → double | 返回以点为单位的右边距。 |
setMarginRight(value: double) | 设置右边距(以点为单位)。 |
getMarginTop() → double | 返回以点为单位的上边距。 |
setMarginTop(value: double) | 以点为单位设置顶部边距。 |
getMarginBottom() → double | 返回以点为单位的下边距。 |
setMarginBottom(value: double) | 以点为单位设置底部边距。 |
getWrapText() → NullableBool | 返回文本换行标志。 |
setWrapText(value: NullableBool) | 设置文本换行标志。 |
getAnchoringType() → TextAnchorType | 返回文本锚定类型。 |
setAnchoringType(value: TextAnchorType) | 设置文本锚定类型。 |
getCenterText() → NullableBool | 返回文本居中模式。 |
setCenterText(value: NullableBool) | 设置文本居中模式。 |
getTextVerticalType() → TextVerticalType | 返回文本垂直类型。 |
setTextVerticalType(value: TextVerticalType) | 设置文本的垂直类型。 |
getAutofitType() → TextAutofitType | 返回文本自动适配类型。 |
setAutofitType(value: TextAutofitType) | 设置文本自动适配类型。 |
getColumnCount() → int | 返回列数。 |
setColumnCount(value: int) | 设置列的数量。 |
getColumnSpacing() → double | 返回列之间的间距(以点为单位)。 |
setColumnSpacing(value: double) | 设置列之间的间距。 |
getThreeDFormat() → IThreeDFormat | 返回文本框的 3D 格式。 |
isKeepTextFlat() → boolean | 返回文本是否保持平面。 |
setKeepTextFlat(value: boolean) | 设置是否保持文本平面。 |
getRotationAngle() → double | 返回文本的旋转角度(单位:度)。 |
setRotationAngle(value: double) | 设置文本的旋转角度(单位:度)。 |
getTransform() → TextShapeType | 返回文本变换形状的类型。 |
setTransform(value: TextShapeType) | 设置文本变换形状类型。 |