Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.SetBBox
Sets a specific bounding box of the current open PDF page.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 4.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.SetBBox"; PDF; box; left; top; right; bottom ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
box | Which box to set. Can be Art, Bleed, Crop, Trim or Media. | "Media" |
left | The lower left x value. | 0 |
top | The lower left y. | 0 |
right | The upper right x. | 595 |
bottom | The upper right y. | 895 |
Result
Returns OK or error.
Description
Sets a specific bounding box of the current open PDF page.A PDF page may be prepared either for a finished medium, such as a sheet of paper, or as part of a prepress process in which the content of the page is placed on an intermediate medium, such as film or an imposed reproduction plate.
See also SetBBox function in dynapdf_help.pdf.
See also SetBBox function in DynaPDF manual.
Examples
Set a media and trim box with same size:
Set Variable [ $r ; Value: MBS("DynaPDF.SetBBox"; $pdf; "Media"; 0; 0; MBS("DynaPDF.GetPageWidth"; $pdf); MBS("DynaPDF.GetPageHeight"; $pdf)) ]
Set Variable [ $r ; Value: MBS("DynaPDF.SetBBox"; $pdf; "Trim"; 0; 0; MBS("DynaPDF.GetPageWidth"; $pdf); MBS("DynaPDF.GetPageHeight"; $pdf)) ]
See also
- DynaPDF.GetBBox
- DynaPDF.GetPageWidth
- DynaPDF.New
- DynaPDF.RenderPage
- DynaPDF.SetFont
- DynaPDF.SetOrientation
- DynaPDF.SetPageBBox
- DynaPDF.SetPageFormat
- DynaPDF.SetPageHeight
- DynaPDF.SetPageWidth
Example Databases
- DynaPDF/Convert to 2 Pages
- DynaPDF/List Annotations
- DynaPDF/PDF Crop
- DynaPDF/Place Picture
- DynaPDF/Shrink PDF pages
Blog Entries
- Adding cutting lines for PDF in FileMaker
- MBS Filemaker Plugin, version 4.5pr2
- MBS Filemaker Plugin, version 4.0pr1
This function checks for a license.
Created 18th August 2014, last changed 3th April 2024