Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  


Sets the cell orientation.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 3.5 Yes Yes Yes Yes Yes

MBS( "DynaPDF.Table.SetCellOrientation"; Table; Row; Col; Orientation )


Parameter Description Example value
Table The identifier for the table. $Table
Row The row number. Range from 0 to DynaPDF.Table.GetNumRows-1. Pass -1 for all rows. 0
Col The column number. Range from 0 to DynaPDF.Table.GetNumCols-1. Pass -1 for all columns. 0
Orientation The new orientation. 90


Returns OK or error.


Sets the cell orientation.
The cell orientation is inherited from the table, column, row, and finally from the cell. The contents in a cell can be rotated in 90 degrees steps. Positive values rotate the cell content counter clockwise and negative values clockwise.
The row height should be set to value greater zero if a cell uses a landscape orientation. This is important if the height cannot be computed from the cell contents. This is the case if a cell contains text and if the flag NoLineBreak was not set.
The orientation can be set to the table, rows, columns, and cells as follows:
RowColApplies to
-1>= 0Column
>= 0-1       Row
>= 0>= 0Cell

See also

DynaPDF.Table.SetCellImageEx   -   DynaPDF.Table.SetCellPadding

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins