Assembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
Remarks
The value of this property affects both ambient and non-ambient style attributes of the cell itself and, through object containment, ambient attributes of the cell's content.
For example, because Spacing is ignored
for table cells, the following code does not affect the look of a table:
Copy CodeC#
RenderTable rt = new RenderTable();
rt.Cells[1, 2].Text = "My text.";
rt.Cells[1, 2].Style.Spacing.All = "3mm";
Copy CodeC#
RenderTable rt = new RenderTable();
rt.Cells[1, 2].Text = "My text.";
rt.Cells[1, 2].CellStyle.Spacing.All = "3mm";