Excel.CellPropertiesFormat interface

表示 getCellProperties 或 setCellProperties 的格式输入参数返回的格式属性。

API 集:ExcelApi 1.9

属性

autoIndent

表示autoIndent属性。

API 集:ExcelApi 1.9

borders

表示borders属性。

API 集:ExcelApi 1.9

fill

表示fill属性。

API 集:ExcelApi 1.9

font

表示font属性。

API 集:ExcelApi 1.9

horizontalAlignment

表示horizontalAlignment属性。

API 集:ExcelApi 1.9

indentLevel

表示indentLevel属性。

API 集:ExcelApi 1.9

protection

表示protection属性。

API 集:ExcelApi 1.9

readingOrder

表示readingOrder属性。

API 集:ExcelApi 1.9

shrinkToFit

表示shrinkToFit属性。

API 集:ExcelApi 1.9

textOrientation

表示textOrientation属性。

API 集:ExcelApi 1.9

useStandardHeight

表示useStandardHeight属性。

API 集:ExcelApi 1.9

useStandardWidth

表示useStandardWidth属性。

API 集:ExcelApi 1.9

verticalAlignment

表示verticalAlignment属性。

API 集:ExcelApi 1.9

wrapText

表示wrapText属性。

API 集:ExcelApi 1.9

属性详细信息

autoIndent

表示autoIndent属性。

API 集:ExcelApi 1.9

autoIndent?: boolean;

属性值

boolean

borders

表示borders属性。

API 集:ExcelApi 1.9

borders?: Excel.CellBorderCollection;

属性值

fill

表示fill属性。

API 集:ExcelApi 1.9

fill?: Excel.CellPropertiesFill;

属性值

font

表示font属性。

API 集:ExcelApi 1.9

font?: Excel.CellPropertiesFont;

属性值

horizontalAlignment

表示horizontalAlignment属性。

API 集:ExcelApi 1.9

horizontalAlignment?: Excel.HorizontalAlignment | "General" | "Left" | "Center" | "Right" | "Fill" | "Justify" | "CenterAcrossSelection" | "Distributed";

属性值

Excel.HorizontalAlignment | "General" | "Left" | "Center" | "Right" | "Fill" | "Justify" | "CenterAcrossSelection" | "Distributed"

indentLevel

表示indentLevel属性。

API 集:ExcelApi 1.9

indentLevel?: number;

属性值

number

protection

表示protection属性。

API 集:ExcelApi 1.9

protection?: Excel.CellPropertiesProtection;

属性值

readingOrder

表示readingOrder属性。

API 集:ExcelApi 1.9

readingOrder?: Excel.ReadingOrder | "Context" | "LeftToRight" | "RightToLeft";

属性值

Excel.ReadingOrder | "Context" | "LeftToRight" | "RightToLeft"

shrinkToFit

表示shrinkToFit属性。

API 集:ExcelApi 1.9

shrinkToFit?: boolean;

属性值

boolean

textOrientation

表示textOrientation属性。

API 集:ExcelApi 1.9

textOrientation?: number;

属性值

number

useStandardHeight

表示useStandardHeight属性。

API 集:ExcelApi 1.9

useStandardHeight?: boolean;

属性值

boolean

useStandardWidth

表示useStandardWidth属性。

API 集:ExcelApi 1.9

useStandardWidth?: boolean;

属性值

boolean

verticalAlignment

表示verticalAlignment属性。

API 集:ExcelApi 1.9

verticalAlignment?: Excel.VerticalAlignment | "Top" | "Center" | "Bottom" | "Justify" | "Distributed";

属性值

Excel.VerticalAlignment | "Top" | "Center" | "Bottom" | "Justify" | "Distributed"

wrapText

表示wrapText属性。

API 集:ExcelApi 1.9

wrapText?: boolean;

属性值

boolean