ITextFrameFormat

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 项。

属性

名称类型访问描述
marginLeftdouble读取返回左边距(单位:点)。
marginRightdouble读取返回右边距(单位:点)。
marginTopdouble读取返回顶部边距(以点为单位)。
marginBottomdouble读取返回底部边距(以点为单位)。
wrapTextNullableBool读取返回文本换行标志。
anchoringTypeTextAnchorType读取返回文本锚定类型。
centerTextNullableBool读取返回文本居中模式。
textVerticalTypeTextVerticalType读取返回文本垂直类型。
autofitTypeTextAutofitType读取返回文本自动适应类型。
columnCountint读取返回列数。
columnSpacingdouble读取返回列之间的间距(以点为单位)。
threeDFormatIThreeDFormat读取返回文本框的 3D 格式。
keepTextFlatboolean读取返回文本是否保持平面。
rotationAngledouble读取返回文本的旋转角度(单位:度)。
transformTextShapeType读取返回文本变换形状的类型。

方法

签名描述
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)设置文本变换形状类型。

另请参阅

 中文