Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / TableRenderer Class / TableRenderer Constructor
A GcGraphics used for creating GrapeCity.Documents.Text.TextLayout objects.
A GrapeCity.Documents.Layout.LayoutRect of the table.
Specifies which sides of a table are fixed, i.e. don't move depending on the table content.
The overall number of rows in the table.
The overall number of columns in the table.
The color of grid lines.
The default grid line width, in graphic units.
The optional minimal height for each row, in graphic units.
The optional minimal width for each column, in graphic units.
All sides padding relative to the table rectangle, in graphic units.
Left side padding relative to the table rectangle, in graphic units.
Top side padding relative to the table rectangle, in graphic units.
Right side padding relative to the table rectangle, in graphic units.
Bottom side padding relative to the table rectangle, in graphic units.

In This Topic
    TableRenderer Constructor
    In This Topic
    Initializes a new instance of the TableRenderer class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal graphics As GcGraphics, _
       ByVal tableRect As LayoutRect, _
       ByVal fixedSides As FixedTableSides, _
       ByVal rowCount As System.Integer, _
       ByVal columnCount As System.Integer, _
       ByVal gridLineColor As System.Drawing.Color, _
       ByVal gridLineWidth As System.Single, _
       Optional ByVal rowMinHeight As System.Nullable(Of Single), _
       Optional ByVal columnMinWidth As System.Nullable(Of Single), _
       Optional ByVal paddingAll As System.Nullable(Of Single), _
       Optional ByVal paddingLeft As System.Single, _
       Optional ByVal paddingTop As System.Single, _
       Optional ByVal paddingRight As System.Single, _
       Optional ByVal paddingBottom As System.Single _
    )
    public TableRenderer( 
       GcGraphics graphics,
       LayoutRect tableRect,
       FixedTableSides fixedSides,
       System.int rowCount,
       System.int columnCount,
       System.Drawing.Color gridLineColor,
       System.float gridLineWidth,
       System.Nullable<float> rowMinHeight,
       System.Nullable<float> columnMinWidth,
       System.Nullable<float> paddingAll,
       System.float paddingLeft,
       System.float paddingTop,
       System.float paddingRight,
       System.float paddingBottom
    )

    Parameters

    graphics
    A GcGraphics used for creating GrapeCity.Documents.Text.TextLayout objects.
    tableRect
    A GrapeCity.Documents.Layout.LayoutRect of the table.
    fixedSides
    Specifies which sides of a table are fixed, i.e. don't move depending on the table content.
    rowCount
    The overall number of rows in the table.
    columnCount
    The overall number of columns in the table.
    gridLineColor
    The color of grid lines.
    gridLineWidth
    The default grid line width, in graphic units.
    rowMinHeight
    The optional minimal height for each row, in graphic units.
    columnMinWidth
    The optional minimal width for each column, in graphic units.
    paddingAll
    All sides padding relative to the table rectangle, in graphic units.
    paddingLeft
    Left side padding relative to the table rectangle, in graphic units.
    paddingTop
    Top side padding relative to the table rectangle, in graphic units.
    paddingRight
    Right side padding relative to the table rectangle, in graphic units.
    paddingBottom
    Bottom side padding relative to the table rectangle, in graphic units.
    See Also