Excel.CellPropertiesFormat interface
表示 getCellProperties 或 setCellProperties 的格式输入参数返回的格式属性。
属性
| auto |
表示 |
| borders | 表示 |
| fill | 表示 |
| font | 表示 |
| horizontal |
表示 |
| indent |
表示 |
| protection | 表示 |
| reading |
表示 |
| shrink |
表示 |
| text |
表示 |
| use |
表示 |
| use |
表示 |
| vertical |
表示 |
| wrap |
表示 |
属性详细信息
autoIndent
borders
表示borders属性。
borders?: Excel.CellBorderCollection;
属性值
fill
font
horizontalAlignment
表示horizontalAlignment属性。
horizontalAlignment?: Excel.HorizontalAlignment | "General" | "Left" | "Center" | "Right" | "Fill" | "Justify" | "CenterAcrossSelection" | "Distributed";
属性值
Excel.HorizontalAlignment | "General" | "Left" | "Center" | "Right" | "Fill" | "Justify" | "CenterAcrossSelection" | "Distributed"
indentLevel
protection
表示protection属性。
protection?: Excel.CellPropertiesProtection;
属性值
readingOrder
表示readingOrder属性。
readingOrder?: Excel.ReadingOrder | "Context" | "LeftToRight" | "RightToLeft";
属性值
Excel.ReadingOrder | "Context" | "LeftToRight" | "RightToLeft"
shrinkToFit
textOrientation
useStandardHeight
useStandardWidth
verticalAlignment
表示verticalAlignment属性。
verticalAlignment?: Excel.VerticalAlignment | "Top" | "Center" | "Bottom" | "Justify" | "Distributed";
属性值
Excel.VerticalAlignment | "Top" | "Center" | "Bottom" | "Justify" | "Distributed"