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 Long

DLL

int DLSetTableCellPadding(int InstanceID, int TableID, int FirstRow, int FirstColumn, int LastRow, int LastColumn, int BorderIndex, double NewPadding);

Parameters

TableIDA TableID returned by the CreateTable function
FirstRowThe the number of the first row to set. Top row is row number 1.
FirstColumnThe the number of the first column to set. Left most column is column number 1.
LastRowThe number of the final row to set
LastColumnThe number of the final column to set
BorderIndex0 = All borders 1 = Left 2 = Top 3 = Right 4 = Bottom
NewPaddingThe new padding on the side of the specified border