API referenceReporting

tblSetCellOrientation

Set a cell's content rotation (e.g. for rotated column

C
BOOL32 __stdcall tblSetCellOrientation(ITBL Table, int32_t Row, int32_t Col, int32_t Orientation);
Delphi
function tblSetCellOrientation(const Table: ITBL; Row, Col, Orientation: Integer): LongBool; stdcall;

Purpose. Set a cell's content rotation (e.g. for rotated column headers in a narrow-column table).

Description. A plain, real, bounds-checked field setter (TTableCell.Orientation). This chapter did not independently trace the exact unit/range Orientation expects (degrees vs. a small enumerated set of 0/90/180/270) — treat as an opaque integer consumed at draw time.

Parameters.

ParameterDescription
TableTarget table handle.
Row, ColTarget cell coordinates.
OrientationContent rotation value.

Return value. True if Row/Col are in range.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Reporting
Category

Misc

Exported names

tblSetCellOrientation

String variants

The …A form takes UTF-8, …W takes UTF-16; a bare name aliases the ANSI form.

See working code

Worked examples — complete programs in ten languages.