Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.SetPageHeight
Sets page height.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 3.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.SetPageHeight"; PDF; Height ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
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:
Format | Size in units (Width x Height) |
DIN A3 | 842.0 x 1191.0 |
DIN A4 | 595.0 x 842.0 |
DIN A5 | 419.0 x 595.0 |
DIN B4 | 709.0 x 1001.0 |
DIN B5 | 499.0 x 709.0 |
DIN B6 | 354.0 x 499.0 |
DIN C3 | 918.0 x 1298.0 |
DIN C4 | 649.0 x 918.0 |
DIN C5 | 459.0 x 649.0 |
DIN C6 | 323.0 x 459.0 |
DIN C65 | 323.0 x 649.0 |
DIN DL | 312.0 x 624.0 |
DIN E4 | 623.0 x 879.0 |
DIN E5 | 439.0 x 624.0 |
DIN E6 | 312.0 x 439.0 |
DIN E65 | 312.0 x 624.0 |
DIN M5 | 439.0 x 632.0 |
DIN M65 | 317.0 x 632.0 |
US Legal | 612.0 x 1008.0 |
US Letter | 612.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
- DynaPDF.AppendPage
- DynaPDF.GetPageHeight
- DynaPDF.GetPageLayout
- DynaPDF.GetPageWidth
- DynaPDF.GetTemplHeight
- DynaPDF.New
- DynaPDF.SetPageCoords
- DynaPDF.SetPageFormat
- DynaPDF.SetPageLayout
- DynaPDF.SetUserUnit
Example Databases
- DynaPDF/Book Creation
- DynaPDF/Convert to 2 Pages
- DynaPDF/Generate Previews
- DynaPDF/Live Styled Text
- DynaPDF/Picture to PDF
- DynaPDF/Place Picture
- DynaPDF/PSD Conversion
- DynaPDF/Shrink PDF pages
- DynaPDF/WMF Conversion
- OCR/OCR with DynaPDF
Blog Entries
- Merge documents with DynaPDF
- Adding cutting lines for PDF in FileMaker
- Create two page PDF document in FileMaker
- Normalize PDF orientation with MBS Plugins and DynaPDF
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 18th October 2016