Excel.Interfaces.StyleCollectionLoadOptions interface

表示所有样式的集合。

属性

$all

指定加载选项将 $all 加载所有标量属性 ((如 Range.address) ),但不会加载导航属性 ((如 Range.format.fill.color) )。

autoIndent

对于集合中的每个项目:指定当单元格中的文本对齐设置为均匀分布时是否自动缩进文本。

borders

对于集合中的每个项目:表示四个边框样式的四个边框对象的集合。

builtIn

For EACH ITEM in the collection: 指定样式是否为内置样式。

fill

对于集合中的每个项目: 样式的填充。

font

对于集合中的每个项目: Font 表示样式字体的对象。

formulaHidden

For EACH ITEM in the collection: 指定在保护工作表时是否隐藏公式。

horizontalAlignment

对于集合中的每个项目: 表示样式的水平对齐。 有关详细信息,请参阅 Excel.HorizontalAlignment

includeAlignment

对于集合中的每个项目:指定样式是否包括自动缩进、水平对齐、垂直对齐、自动换行、缩进级别和文本方向属性。

includeBorder

对于集合中的每个项目:指定样式是否包含颜色、颜色索引、线条样式和粗细边框属性。

includeFont

对于集合中的每个项目:指定样式是否包括背景、粗体、颜色、颜色索引、字体样式、斜体、名称、大小、删除线、下标、上标和下划线字体属性。

includeNumber

For EACH ITEM in the collection: 指定样式是否包含数字格式属性。

includePatterns

对于集合中的每个项目:指定样式是否包括颜色、颜色索引、反转(如果负)、图案、图案颜色和图案颜色索引内部属性。

includeProtection

对于集合中的每个项:指定样式是否包含公式隐藏和锁定的保护属性。

indentLevel

对于集合中的每个项:0 到 250 中的整数,指示样式的缩进级别。

locked

For EACH ITEM in the collection: 指定在保护工作表时对象是否锁定。

name

对于集合中的每个项目: 样式的名称。

numberFormat

For EACH ITEM in the collection: 样式数字格式的格式代码。

numberFormatLocal

For EACH ITEM in the collection: 样式数字格式的本地化格式代码。

readingOrder

对于集合中的每个项目:样式的阅读顺序。

shrinkToFit

For EACH ITEM in the collection: 指定文本是否自动缩小以适应可用列宽。

textOrientation

对于集合中的每个项目: 样式的文本方向。

verticalAlignment

对于集合中的每个项目: 指定样式的垂直对齐方式。 有关详细信息,请参阅 Excel.VerticalAlignment

wrapText

对于集合中的每个项: 指定 Excel 是否包装对象中的文本。

属性详细信息

$all

指定加载选项将 $all 加载所有标量属性 ((如 Range.address) ),但不会加载导航属性 ((如 Range.format.fill.color) )。

$all?: boolean;

属性值

boolean

autoIndent

对于集合中的每个项目:指定当单元格中的文本对齐设置为均匀分布时是否自动缩进文本。

autoIndent?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.8

borders

对于集合中的每个项目:表示四个边框样式的四个边框对象的集合。

borders?: Excel.Interfaces.RangeBorderCollectionLoadOptions;

属性值

注解

API 集:ExcelApi 1.7

builtIn

For EACH ITEM in the collection: 指定样式是否为内置样式。

builtIn?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7

fill

对于集合中的每个项目: 样式的填充。

fill?: Excel.Interfaces.RangeFillLoadOptions;

属性值

注解

API 集:ExcelApi 1.7

font

对于集合中的每个项目: Font 表示样式字体的对象。

font?: Excel.Interfaces.RangeFontLoadOptions;

属性值

注解

API 集:ExcelApi 1.7

formulaHidden

For EACH ITEM in the collection: 指定在保护工作表时是否隐藏公式。

formulaHidden?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7

horizontalAlignment

对于集合中的每个项目: 表示样式的水平对齐。 有关详细信息,请参阅 Excel.HorizontalAlignment

horizontalAlignment?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7

includeAlignment

对于集合中的每个项目:指定样式是否包括自动缩进、水平对齐、垂直对齐、自动换行、缩进级别和文本方向属性。

includeAlignment?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7

includeBorder

对于集合中的每个项目:指定样式是否包含颜色、颜色索引、线条样式和粗细边框属性。

includeBorder?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7

includeFont

对于集合中的每个项目:指定样式是否包括背景、粗体、颜色、颜色索引、字体样式、斜体、名称、大小、删除线、下标、上标和下划线字体属性。

includeFont?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7

includeNumber

For EACH ITEM in the collection: 指定样式是否包含数字格式属性。

includeNumber?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7

includePatterns

对于集合中的每个项目:指定样式是否包括颜色、颜色索引、反转(如果负)、图案、图案颜色和图案颜色索引内部属性。

includePatterns?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7

includeProtection

对于集合中的每个项:指定样式是否包含公式隐藏和锁定的保护属性。

includeProtection?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7

indentLevel

对于集合中的每个项:0 到 250 中的整数,指示样式的缩进级别。

indentLevel?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7

locked

For EACH ITEM in the collection: 指定在保护工作表时对象是否锁定。

locked?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7

name

对于集合中的每个项目: 样式的名称。

name?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7

numberFormat

For EACH ITEM in the collection: 样式数字格式的格式代码。

numberFormat?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7

numberFormatLocal

For EACH ITEM in the collection: 样式数字格式的本地化格式代码。

numberFormatLocal?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7

readingOrder

对于集合中的每个项目:样式的阅读顺序。

readingOrder?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7

shrinkToFit

For EACH ITEM in the collection: 指定文本是否自动缩小以适应可用列宽。

shrinkToFit?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7

textOrientation

对于集合中的每个项目: 样式的文本方向。

textOrientation?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.8

verticalAlignment

对于集合中的每个项目: 指定样式的垂直对齐方式。 有关详细信息,请参阅 Excel.VerticalAlignment

verticalAlignment?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7

wrapText

对于集合中的每个项: 指定 Excel 是否包装对象中的文本。

wrapText?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.7