SetTableColumnWidth

Page layout

Description

Sets the width of one or more table columns.

Syntax

Delphi

Function TPDFlib.SetTableColumnWidth(TableID, FirstColumn, LastColumn: Integer; NewWidth: Double): Integer;

ActiveX

Function PDFlib::SetTableColumnWidth(TableID As Long, FirstColumn As Long, LastColumn As Long, NewWidth As Double) As Long

DLL

int DLSetTableColumnWidth(int InstanceID, int TableID, int FirstColumn, int LastColumn, double NewWidth);

Parameters

TableIDA TableID returned by the CreateTable function
FirstColumnThe number of the first column to set. Left most column is column number 1.
LastColumnThe number of the final column to set
NewWidthThe new width of the specified columns

Return values

1The width was applied to the selected columns
0TableID is not a valid table, or the column range is outside the table