SetTableCellAlignment
Page layout
Description
Sets the vertical and horizontal alignment of one or more cells.
Syntax
Delphi
function TPDFlib.SetTableCellAlignment(TableID, FirstRow, FirstColumn, LastRow, LastColumn, NewCellAlignment: Integer): Integer;ActiveX
Function PDFlib::SetTableCellAlignment(TableID As Long, FirstRow As Long, FirstColumn As Long, LastRow As Long, LastColumn As Long, NewCellAlignment As Long) As LongDLL
int DLSetTableCellAlignment(int InstanceID, int TableID, int FirstRow, int FirstColumn, int LastRow, int LastColumn, int NewCellAlignment);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 |
| NewCellAlignment | 0 = top left 1 = top centre 2 = top right 3 = middle left 4 = middle centre 5 = middle right 6 = bottom left 7 = bottom centre 8 = bottom right int NewCellAlignment); |