TableRenderer Constructor
In This Topic
Initializes a new instance of the
TableRenderer class.
Syntax
'Declaration
Public Function New( _
ByVal As GcGraphics, _
ByVal As LayoutRect, _
ByVal As FixedTableSides, _
ByVal As System.Integer, _
ByVal columnCount As System.Integer, _
ByVal As System.Drawing.Color, _
ByVal As System.Single, _
Optional ByVal As System.Nullable(Of Single), _
Optional ByVal columnMinWidth As System.Nullable(Of Single), _
Optional ByVal As System.Nullable(Of Single), _
Optional ByVal As System.Single, _
Optional ByVal As System.Single, _
Optional ByVal As System.Single, _
Optional ByVal As System.Single _
)
public TableRenderer(
GcGraphics ,
LayoutRect ,
FixedTableSides ,
System.int ,
System.int columnCount,
System.Drawing.Color ,
System.float ,
System.Nullable<float> ,
System.Nullable<float> columnMinWidth,
System.Nullable<float> ,
System.float ,
System.float ,
System.float ,
System.float
)
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