Excel.Interfaces.TextFrameUpdateData interface

一个用于更新 TextFrame 对象上的数据的接口, 可用于 "textFrame (An interface for updating data on the TextFrame object, for use in "textFrame.set({ ... })".

属性

autoSizeSetting

获取或设置文本框的自动调整大小设置。Gets or sets the automatic sizing settings for the text frame. 可以将文本框设置为自动调整文本大小以适应文本框,或自动调整文本框大小以适应文本,或者不使用自动调整大小设置。A text frame can be set to automatically fit the text to the text frame, to automatically fit the text frame to the text, or not perform any automatic sizing.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

bottomMargin

表示文本框的下边距(以磅为单位)。Represents the bottom margin, in points, of the text frame.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

horizontalAlignment

表示文本框的水平对齐方式。Represents the horizontal alignment of the text frame. 有关详细信息,请参阅 Excel.ShapeTextHorizontalAlignment。See Excel.ShapeTextHorizontalAlignment for details.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

horizontalOverflow

表示文本框的水平溢出行为。Represents the horizontal overflow behavior of the text frame. 有关详细信息,请参阅 Excel.ShapeTextHorizontalOverflow。See Excel.ShapeTextHorizontalOverflow for details.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

leftMargin

表示文本框的左边距(以磅为单位)。Represents the left margin, in points, of the text frame.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

orientation

表示文本框的文本方向。Represents the text orientation of the text frame. 有关详细信息,请参阅 Excel.ShapeTextOrientation。See Excel.ShapeTextOrientation for details.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

readingOrder

表示文本框从左到右或从右到左的读取顺序。Represents the reading order of the text frame, either left-to-right or right-to-left. 有关详细信息,请参阅 Excel.ShapeTextReadingOrder。See Excel.ShapeTextReadingOrder for details.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

rightMargin

表示文本框的右边距(以磅为单位)。Represents the right margin, in points, of the text frame.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

topMargin

表示文本框的上边距(以磅为单位)。Represents the top margin, in points, of the text frame.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

verticalAlignment

表示文本框的垂直对齐方式。Represents the vertical alignment of the text frame. 有关详细信息,请参阅 Excel.ShapeTextVerticalAlignment。See Excel.ShapeTextVerticalAlignment for details.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

verticalOverflow

表示文本框的垂直溢出行为。Represents the vertical overflow behavior of the text frame. 有关详细信息,请参阅 Excel.ShapeTextVerticalOverflow。See Excel.ShapeTextVerticalOverflow for details.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

属性详细信息

autoSizeSetting

获取或设置文本框的自动调整大小设置。Gets or sets the automatic sizing settings for the text frame. 可以将文本框设置为自动调整文本大小以适应文本框,或自动调整文本框大小以适应文本,或者不使用自动调整大小设置。A text frame can be set to automatically fit the text to the text frame, to automatically fit the text frame to the text, or not perform any automatic sizing.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

autoSizeSetting?: Excel.ShapeAutoSize | "AutoSizeNone" | "AutoSizeTextToFitShape" | "AutoSizeShapeToFitText" | "AutoSizeMixed";

属性值

Excel.ShapeAutoSize | "AutoSizeNone" | "AutoSizeTextToFitShape" | "AutoSizeShapeToFitText" | "AutoSizeMixed"

bottomMargin

表示文本框的下边距(以磅为单位)。Represents the bottom margin, in points, of the text frame.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

bottomMargin?: number;

属性值

number

horizontalAlignment

表示文本框的水平对齐方式。Represents the horizontal alignment of the text frame. 有关详细信息,请参阅 Excel.ShapeTextHorizontalAlignment。See Excel.ShapeTextHorizontalAlignment for details.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

horizontalAlignment?: Excel.ShapeTextHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";

属性值

Excel.ShapeTextHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed"

horizontalOverflow

表示文本框的水平溢出行为。Represents the horizontal overflow behavior of the text frame. 有关详细信息,请参阅 Excel.ShapeTextHorizontalOverflow。See Excel.ShapeTextHorizontalOverflow for details.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

horizontalOverflow?: Excel.ShapeTextHorizontalOverflow | "Overflow" | "Clip";

属性值

Excel.ShapeTextHorizontalOverflow | "Overflow" | "Clip"

leftMargin

表示文本框的左边距(以磅为单位)。Represents the left margin, in points, of the text frame.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

leftMargin?: number;

属性值

number

orientation

表示文本框的文本方向。Represents the text orientation of the text frame. 有关详细信息,请参阅 Excel.ShapeTextOrientation。See Excel.ShapeTextOrientation for details.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

orientation?: Excel.ShapeTextOrientation | "Horizontal" | "Vertical" | "Vertical270" | "WordArtVertical" | "EastAsianVertical" | "MongolianVertical" | "WordArtVerticalRTL";

属性值

Excel.ShapeTextOrientation | "Horizontal" | "Vertical" | "Vertical270" | "WordArtVertical" | "EastAsianVertical" | "MongolianVertical" | "WordArtVerticalRTL"

readingOrder

表示文本框从左到右或从右到左的读取顺序。Represents the reading order of the text frame, either left-to-right or right-to-left. 有关详细信息,请参阅 Excel.ShapeTextReadingOrder。See Excel.ShapeTextReadingOrder for details.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

readingOrder?: Excel.ShapeTextReadingOrder | "LeftToRight" | "RightToLeft";

属性值

Excel.ShapeTextReadingOrder | "LeftToRight" | "RightToLeft"

rightMargin

表示文本框的右边距(以磅为单位)。Represents the right margin, in points, of the text frame.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

rightMargin?: number;

属性值

number

topMargin

表示文本框的上边距(以磅为单位)。Represents the top margin, in points, of the text frame.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

topMargin?: number;

属性值

number

verticalAlignment

表示文本框的垂直对齐方式。Represents the vertical alignment of the text frame. 有关详细信息,请参阅 Excel.ShapeTextVerticalAlignment。See Excel.ShapeTextVerticalAlignment for details.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

verticalAlignment?: Excel.ShapeTextVerticalAlignment | "Top" | "Middle" | "Bottom" | "Justified" | "Distributed";

属性值

Excel.ShapeTextVerticalAlignment | "Top" | "Middle" | "Bottom" | "Justified" | "Distributed"

verticalOverflow

表示文本框的垂直溢出行为。Represents the vertical overflow behavior of the text frame. 有关详细信息,请参阅 Excel.ShapeTextVerticalOverflow。See Excel.ShapeTextVerticalOverflow for details.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

verticalOverflow?: Excel.ShapeTextVerticalOverflow | "Overflow" | "Ellipsis" | "Clip";

属性值

Excel.ShapeTextVerticalOverflow | "Overflow" | "Ellipsis" | "Clip"