SharpLeaf Reference > Table Methods > SetTitles Method

Table.SetTitles Method

Set the number of leading columns and rows that are titles.

public void SetTitles(
    int columns,
    int rows
);
columns
Number of leading columns that are titles.
rows
Number of leading rows that are titles.

Example

   tb.SetTitles(0,1);  // 0 column of row titles, 1 row of column titles

Description

Titles will be boxed with the table box, unless matching argument of SetOffset is larger or equal, in which case they will stand outside the box.

Titles cells may be merged together, but not with non-title cells (see SetColumnMerge/SetRowMerge).

Titles will be repeated on all table sub-pages (the general way to do this is SetColumnRetain/SetRowRetain).

See also ...

Table Appearance | Table Glossary | Table Members | Table.Box Property | Table.SetColumnGrid Method | Table.SetColumnRetain Method | Table.SetOffset Method | Table.SetRowGrid Method | Table.SetRowRetain Method


Send comments on this topic
© Dyalog Ltd 2021