好吧,我有点困惑:
[列表]
1.以下(wcmatch x“*Cell*”)方法是否仅适用于(0。“TABLESTYLE”),而不适用于(0。“ACAD\u TABLE”)?
[/列表]
- ; Methods supported:
- ; CreateCellStyle (1)
- ; CreateCellStyleFromStyle (2)
- ; DeleteCellStyle (1)
- ; GetCellClass (1)
- ; GetCellStyles (1)
- ; GetIsCellStyleInUse (1)
- ; GetUniqueCellStyleName (1)
- ; RenameCellStyle (2)
- ; SetCellClass (2)
[列表]
2.创建新的单元格样式后,通过调用(CreateCellStyle)方法,
我们将使用(wcmatch x“*2”)方法来调整单元样式的属性,就像操作普通表样式一样?
[/列表]
- ; Methods supported:
- ; GetAlignment2 (1)
- ; GetBackgroundColor2 (1)
- ; GetColor2 (1)
- ; GetDataType2 (3)
- ; GetFormat2 (2)
- ; GetGridColor2 (2)
- ; GetGridLineWeight2 (2)
- ; GetGridVisibility2 (2)
- ; GetTextHeight2 (1)
- ; SetAlignment2 (2)
- ; SetBackgroundColor2 (2)
- ; SetColor2 (2)
- ; SetDataType2 (3)
- ; SetFormat2 (2)
- ; SetGridColor2 (3)
- ; SetGridLineWeight2 (3)
- ; SetGridVisibility2 (3)
- ; SetTextHeight2 (2)
第2步对我来说有点愚蠢-获得一个“CellStyle”VLA-OBJECT(如果有)并像其他任何对象一样操作它会更方便。 |