Class Interface

PDFTableDataSource


Description

A data source to use to populate a PDFTable.

Methods

Name

Parameters

Returns

Shared

AddNewRow

rowCount As Integer

Boolean

Completed

x As Double, y As Double

HeaderHeight

Double

MergeCellsForRow

row As Integer, ByRef cellsToMerge() As CellRange

Boolean

PaintCell

g As Graphics, row As Integer, column As Integer

PaintHeaderContent

g As Graphics, column As Integer

RowHeight

Double

Method descriptions


PDFTableDataSource.AddNewRow

AddNewRow(rowCount As Integer) As Boolean

Called to determine if a new row needs to be added. Returning True adds a new row while returning False does not.


PDFTableDataSource.Completed

Completed(x As Double, y As Double)

Provides the bottom left coordinates of the table when drawing of it is completed.


PDFTableDataSource.HeaderHeight

HeaderHeight As Double

Returns the height of the header.


PDFTableDataSource.MergeCellsForRow

MergeCellsForRow(row As Integer, ByRef cellsToMerge() As CellRange) As Boolean

Merges the ranges of cells in the cellsToMerge array passed in the row passed.


PDFTableDataSource.PaintCell

PaintCell(g As Graphics, row As Integer, column As Integer)

The cell at the row and column passed is being drawn. You can draw into the cell via the passed parameter g.


PDFTableDataSource.PaintHeaderContent

PaintHeaderContent(g As Graphics, column As Integer)

The header for the column passed is being drawn. You can draw into the header via the passed parameter g.


PDFTableDataSource.RowHeight

RowHeight As Double

Returns the height of a row from the table.

Compatibility

Desktop, console, web and iOS project types on all supported operating systems.