TableStyleType
ListObject.TableStyleType property
Gets ve yerleşik tablo stili.
public TableStyleType TableStyleType { get; set; }
Örnekler
[C#]
Workbook workbook = new Workbook("Book1.xlsx");
ListObjectCollection tables = workbook.Worksheets[0].ListObjects;
int index = tables.Add(0, 0, 9, 4, true);
ListObject table = tables[0];
table.TableStyleType = TableStyleType.TableStyleDark2;
workbook.Save("TableStyle.xlsx");
[Visual Basic]
Dim workbook As Workbook = New Workbook("Book1.xlsx")
Dim tables As ListObjectCollection = workbook.Worksheets(0).ListObjects
Dim index As Int32 = tables.Add(0, 0, 9, 4, True)
Dim table As ListObject = tables(0)
table.TableStyleType = TableStyleType.TableStyleDark2;
workbook.Save("Book1.xlsx")
Ayrıca bakınız
- enum TableStyleType
- class ListObject
- ad alanı Aspose.Cells.Tables
- toplantı Aspose.Cells