Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.Table.SetCellOrientation

Sets the cell orientation.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 3.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.Table.SetCellOrientation"; Table; Row; Col; Orientation )   More

Parameters

Parameter Description Example
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

Result

Returns OK or error.

Description

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-1Table
-1>= 0Column
>= 0-1       Row
>= 0>= 0Cell

See also

This function checks for a license.

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


DynaPDF.Table.SetCellImageEx - DynaPDF.Table.SetCellPadding