table_style_type 属性
table_style_type 属性
获取和内置表格样式。
例子
from aspose.cells import Workbook
from aspose.cells.tables import TableStyleType
workbook = Workbook("Book1.xlsx")
tables = workbook.worksheets[0].list_objects
index = tables.add(0, 0, 9, 4, True)
table = tables[0]
table.table_style_type = TableStyleType.TABLE_STYLE_DARK2
workbook.save("TableStyle.xlsx")
定义:
@property
def table_style_type(self):
...
@table_style_type.setter
def table_style_type(self, value):
...