PowerPoint.Interfaces.ParagraphFormatUpdateData interface

用于更新对象上 ParagraphFormat 的数据的接口,用于 paragraphFormat.set({ ... }).

属性

horizontalAlignment

表示段落的水平对齐方式。 如果 'TextRange' 包含具有不同水平对齐值的文本片段,则返回 'null'。 有关详细信息,请参阅 PowerPoint.ParagraphHorizontalAlignment 。

indentLevel

表示段落的缩进级别。

属性详细信息

horizontalAlignment

表示段落的水平对齐方式。 如果 'TextRange' 包含具有不同水平对齐值的文本片段,则返回 'null'。 有关详细信息,请参阅 PowerPoint.ParagraphHorizontalAlignment 。

horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null;

属性值

PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed" | null

注解

API 集:PowerPointApi 1.4

indentLevel

表示段落的缩进级别。

indentLevel?: number;

属性值

number

注解

API 集:PowerPointApi 1.10