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.SetPageHeight

Sets page height.

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

MBS( "DynaPDF.SetPageHeight"; PDF; Height )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Height The new page height. 1000

Result

Returns OK on success or error.

Description

Sets page height.
The function changes the height of the currently open page if any, or the default height for newly created pages. This function changes the media box of a page (see also DynaPDF.SetBBox). The page height must be greater zero. You can change the page of current page or outside a page the size of new pages.
10cm is about 283 points, unless you changed units (DynaPDF.SetUserUnit). Calculate with cm value divided by 2.54 cm/inch and multiplied with 72 points per inch.
See also DynaPDF.SetPageFormat and DynaPDF.SetPageWidth.

Common paper formats and sizes in points:

FormatSize in units (Width x Height)
DIN A3842.0 x 1191.0
DIN A4595.0 x 842.0
DIN A5419.0 x 595.0
DIN B4709.0 x 1001.0
DIN B5499.0 x 709.0
DIN B6354.0 x 499.0
DIN C3918.0 x 1298.0
DIN C4649.0 x 918.0
DIN C5459.0 x 649.0
DIN C6323.0 x 459.0
DIN C65323.0 x 649.0
DIN DL312.0 x 624.0
DIN E4623.0 x 879.0
DIN E5439.0 x 624.0
DIN E6312.0 x 439.0
DIN E65312.0 x 624.0
DIN M5439.0 x 632.0
DIN M65317.0 x 632.0
US Legal612.0 x 1008.0
US Letter612.0 x 792.0

See also SetPageHeight function in DynaPDF manual.

Examples

Sets page size:

Set Variable [$r; Value:MBS("DynaPDF.SetPageWidth"; $pdf; 500)]
Set Variable [$r; Value:MBS("DynaPDF.SetPageHeight"; $pdf; 500)]

See also

Example Databases


DynaPDF.SetPageFormat   -   DynaPDF.SetPageLayout

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins