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  

DynaPDF.Table.GetNextHeight

Calculates the height of the table.

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

MBS( "DynaPDF.Table.GetNextHeight"; Table; MaxHeight )

Parameters

Parameter Description Example value
Table The identifier for the table. $Table
MaxHeight Maximum height for the table. 500

Result

Returns calculated height 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 drawning 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.

See also


DynaPDF.Table.GetFirstRow   -   DynaPDF.Table.GetNextHeightRow

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins