Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  

DynaPDF.GetImportPageBounds

Queries page size for an import PDF page.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 3.0 Yes Yes Yes Yes Yes
MBS( "DynaPDF.GetImportPageBounds"; PDF; PageIndex { ; Box } )   More

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
PageIndex The page index in range from 1 to DynaPDF.GetImportPageCount. 1
Box Optional
Optional, which box to use. Default is Mediabox. You can pass MediaBox, CropBox, ArtBox, BleedBox or TrimBox.
"MediaBox"

Result

Returns rectangle as string with four numbers for left, top, right and bottom.

Description

Queries page size for an import PDF page.
Please note that we have DynaPDF.GetPageBounds for the current working PDF and the DynaPDF.GetImportPageBounds for the current open import PDF.

Examples

Queries crop size of page 5 from import PDF:

$r = MBS( "DynaPDF.GetImportPageBounds"; $PDF; 5; "CropBox" )

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 18th August 2014


DynaPDF.GetImportPDFVersion   -   DynaPDF.GetImportPageCount

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins