SetTableBorderWidth

Page layout

Description

Sets the width of the specified table border.

Syntax

Delphi

Function TPDFlib.SetTableBorderWidth(TableID, BorderIndex: Integer; NewWidth: Double): Integer;

ActiveX

Function PDFlib::SetTableBorderWidth(TableID As Long, BorderIndex As Long, NewWidth As Double) As Long

DLL

int DLSetTableBorderWidth(int InstanceID, int TableID, int BorderIndex, double NewWidth);

Parameters

TableIDA TableID returned by the CreateTable function
BorderIndex0 = All borders 1 = Left 2 = Top 3 = Right 4 = Bottom
NewWidthThe new width of the specified table border

Return values

1The colour or width was applied to the selected table borders
0TableID is not a valid table, or BorderIndex is outside 0 through 4