Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
DynaPDF.Table.GetNextHeightRow
Calculates the height of the table.
Component |
Version |
macOS |
Windows |
Linux |
Server |
iOS SDK |
DynaPDF
|
3.5 |
✅ Yes
|
✅ Yes
|
✅ Yes
|
✅ Yes
|
✅ Yes
|
MBS( "DynaPDF.Table.GetNextHeightRow"; Table; MaxHeight )
More
MBS(
"DynaPDF.Table.GetNextHeightRow"; /* Calculates the height of the table. */
$Table; /* The identifier for the table. */
$MaxHeight) /* Maximum height for the table.e.g. 500 */
Less
Parameters
Parameter |
Description |
Example |
Table |
The identifier for the table. |
$Table |
MaxHeight |
Maximum height for the table. |
500 |
Result
Returns next row or error.
Description
Calculates the height of the table.
If the parameter MaxHeight is zero, then the full height will be returned. If MaxHeight is greater zero, then the height of the table is calculated that fits into the output height. This is the same height that DrawTable() would produce when drawing the table with the same parameters. This function can be useful if the height of the table must be known before it can be drawn. The function caches the result so that multiple calls with a different max height can be computed fast as possible.
The function must be called within an open page.
This function can be used together with DynaPDF.Table.GetNextHeight. While DynaPDF.Table.GetNextHeight returns the height, this function will return the next row after the given height has been used.
See also
Created 18th August 2014, last changed 23th February 2021
DynaPDF.Table.GetNextHeight
-
DynaPDF.Table.GetNextRow
Feedback: Report problem or ask question.