Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    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 )   More


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

Created 18th August 2014, last changed 18th August 2014

DynaPDF.Table.SetCellImageEx   -   DynaPDF.Table.SetCellPadding

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins