Tables are represented by instances of the RenderTable class. To create a table, just invoke its constructor, for example like this:
? Visual Basic
Dim rt1 As New C1.C1Preview.RenderTable()
? C#
RenderTable rt1 = new RenderTable();
C1PrintDocument tables follow the model of Microsoft Excel. Though a newly created table is physically empty (that is, it does not take much space in memory), logically it is infinite: you can access any element (cell, row, or column) of a table without first adding rows or columns, and writing to that element will logically create all elements preceding it. For instance, setting the text of the cell of an empty table at row index 9 and column index 3 will make the table grow to 10 rows and 4 columns.
详情请参见文档
22-Tables.docx
(73.69 KB, 下载次数: 185)
|
|