Set single cell padding for all tables

Namespace:  SautinSoft
Assembly:  SautinSoft.HtmlToRtf (in SautinSoft.HtmlToRtf.dll) Version: 5.8.2.8

Syntax

      
 C#  Visual Basic 
public int TableCellPadding { get; set; }
Public Property TableCellPadding As Integer

Remarks

By default the TableCellPadding is set to -1, converter will use the same cell paddings as in original HTML document.
If you want to set custom cell padding, set any value from 0 ..10.



Examples

CopyC#
SautinSoft.HtmlToRtf h = new SautinSoft.HtmlToRtf();
h.TableCellPadding = 2;
CopyVB.NET
Dim h As New SautinSoft.HtmlToRtf()
h.TableCellPadding = 2

See Also