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
| TableID | A TableID returned by the CreateTable function |
|---|---|
| FirstColumn | The number of the first column to set. Left most column is column number 1. |
| LastColumn | The number of the final column to set |
| NewWidth | The new width of the specified columns |
Return values
| 1 | The width was applied to the selected columns |
|---|---|
| 0 | TableID is not a valid table, or the column range is outside the table |