PowerPoint.Interfaces.TextFrameLoadOptions interface

表示形状对象的文本框。

注解

[ API 集:PowerPointApi 1.4 ]

属性

$all

$all为 LoadOptions 指定将加载所有标量属性 (例如:Range.address) 但不加载导航属性 (例如: Range.format.fill.color) 。

autoSizeSetting

文本框的自动调整大小设置。 可以将文本框设置为自动调整文本大小以适应文本框,或自动调整文本框大小以适应文本,或者不使用自动调整大小设置。

bottomMargin

表示文本框的下边距(以磅为单位)。

hasText

指定文本框是否包含文本。

leftMargin

表示文本框的左边距(以磅为单位)。

rightMargin

表示文本框的右边距(以磅为单位)。

textRange

表示附加到文本框中形状上的文本,以及用于操作文本的属性和方法。 有关详细信息,请参阅 PowerPoint.TextRange

topMargin

表示文本框的上边距(以磅为单位)。

verticalAlignment

表示文本框的垂直对齐方式。 有关详细信息,请参阅 PowerPoint.TextVerticalAlignment

wordWrap

确定是否自动换行以适合形状内的文本。

属性详细信息

$all

$all为 LoadOptions 指定将加载所有标量属性 (例如:Range.address) 但不加载导航属性 (例如: Range.format.fill.color) 。

$all?: boolean;

属性值

boolean

autoSizeSetting

文本框的自动调整大小设置。 可以将文本框设置为自动调整文本大小以适应文本框,或自动调整文本框大小以适应文本,或者不使用自动调整大小设置。

autoSizeSetting?: boolean;

属性值

boolean

注解

[ API 集:PowerPointApi 1.4 ]

bottomMargin

表示文本框的下边距(以磅为单位)。

bottomMargin?: boolean;

属性值

boolean

注解

[ API 集:PowerPointApi 1.4 ]

hasText

指定文本框是否包含文本。

hasText?: boolean;

属性值

boolean

注解

[ API 集:PowerPointApi 1.4 ]

leftMargin

表示文本框的左边距(以磅为单位)。

leftMargin?: boolean;

属性值

boolean

注解

[ API 集:PowerPointApi 1.4 ]

rightMargin

表示文本框的右边距(以磅为单位)。

rightMargin?: boolean;

属性值

boolean

注解

[ API 集:PowerPointApi 1.4 ]

textRange

表示附加到文本框中形状上的文本,以及用于操作文本的属性和方法。 有关详细信息,请参阅 PowerPoint.TextRange

textRange?: PowerPoint.Interfaces.TextRangeLoadOptions;

属性值

注解

[ API 集:PowerPointApi 1.4 ]

topMargin

表示文本框的上边距(以磅为单位)。

topMargin?: boolean;

属性值

boolean

注解

[ API 集:PowerPointApi 1.4 ]

verticalAlignment

表示文本框的垂直对齐方式。 有关详细信息,请参阅 PowerPoint.TextVerticalAlignment

verticalAlignment?: boolean;

属性值

boolean

注解

[ API 集:PowerPointApi 1.4 ]

wordWrap

确定是否自动换行以适合形状内的文本。

wordWrap?: boolean;

属性值

boolean

注解

[ API 集:PowerPointApi 1.4 ]