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 Long

DLL

int DLSetTableCellAlignment(int InstanceID, int TableID, int FirstRow, int FirstColumn, int LastRow, int LastColumn, int NewCellAlignment);

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
NewCellAlignment0 = top left 1 = top center 2 = top right 3 = middle left 4 = middle center 5 = middle right 6 = bottom left 7 = bottom center 8 = bottom right int NewCellAlignment);