SetTableCellPadding
Page layout
Description
Sets the padding of one or more cells. The padding is the distance from the cell boundary to the text contents. The padding is set on the side of the specified border.
Syntax
Delphi
function TPDFlib.SetTableCellPadding(TableID, FirstRow, FirstColumn, LastRow, LastColumn, BorderIndex: Integer; NewPadding: Double): Integer;ActiveX
Function PDFlib::SetTableCellPadding(TableID As Long, FirstRow As Long, FirstColumn As Long, LastRow As Long, LastColumn As Long, BorderIndex As Long, NewPadding As Double) As LongDLL
int DLSetTableCellPadding(int InstanceID, int TableID, int FirstRow, int FirstColumn, int LastRow, int LastColumn, int BorderIndex, double NewPadding);Parameters
| TableID | A TableID returned by the CreateTable function |
|---|---|
| FirstRow | The the number of the first row to set. Top row is row number 1. |
| FirstColumn | The the number of the first column to set. Left most column is column number 1. |
| LastRow | The number of the final row to set |
| LastColumn | The number of the final column to set |
| BorderIndex | 0 = All borders 1 = Left 2 = Top 3 = Right 4 = Bottom |
| NewPadding | The new padding on the side of the specified border |