Excel.Interfaces.TextFrameLoadOptions interface

代表 shape 对象的文本框架。Represents the text frame of a shape object.

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

属性

$all
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 ]

hasText

指定文本框是否包含文本。Specifies whether the text frame contains text.

[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 ]

textRange

表示附加到文本框中形状上的文本,以及用于操作文本的属性和方法。Represents the text that is attached to a shape in the text frame, and properties and methods for manipulating the text. 有关详细信息,请参阅 Excel.TextRange。See Excel.TextRange for details.

[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 ]

属性详细信息

$all

$all?: boolean;

属性值

boolean

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?: boolean;

属性值

boolean

bottomMargin

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

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

bottomMargin?: boolean;

属性值

boolean

hasText

指定文本框是否包含文本。Specifies whether the text frame contains text.

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

hasText?: boolean;

属性值

boolean

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?: boolean;

属性值

boolean

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?: boolean;

属性值

boolean

leftMargin

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

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

leftMargin?: boolean;

属性值

boolean

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?: boolean;

属性值

boolean

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?: boolean;

属性值

boolean

rightMargin

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

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

rightMargin?: boolean;

属性值

boolean

textRange

表示附加到文本框中形状上的文本,以及用于操作文本的属性和方法。Represents the text that is attached to a shape in the text frame, and properties and methods for manipulating the text. 有关详细信息,请参阅 Excel.TextRange。See Excel.TextRange for details.

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

textRange?: Excel.Interfaces.TextRangeLoadOptions;

属性值

topMargin

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

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

topMargin?: boolean;

属性值

boolean

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?: boolean;

属性值

boolean

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?: boolean;

属性值

boolean