SharpLeaf Reference > Table Methods > SetCellMargins Method

Table.SetCellMargins Method

Set margins above/below/left/right cell content within cell boundary for all table cells (default is 3).

Overloads

Example

   tb.SetCellMargins(8);  // Force table spacing to be 8-point around all cells

Description

This will set the margins for all cells of the table, including the ones that already have been filled.

For finer control over cell margins, see SetColumnBefore, SetColumnAfter, SetRowBefore, SetRowAfter, and the Table cycles tutorial.

See also ...

Table Appearance | Table Glossary | Table Members


Send comments on this topic
© Dyalog Ltd 2021