Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.SetPageCoords
Sets the coordinate system origin.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 3.3 | Yes | Yes | Yes | Yes | Yes |
MBS( "DynaPDF.SetPageCoords"; PDF; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| Value | The new setting. Can be BottomUp or TopDown. | "TopDown" |
Result
Returns OK on success or error message.
Description
Sets the coordinate system origin.The native coordinate system of the Portable Document Format is bottom-up. However, DynaPDF supports also top-down coordinates to make the usage of the library easier. Top-down coordinates are then converted to bottom-up coordinates by DynaPDF, the coordinate system in the PDF file will not be changed by this function.
When changing the coordinate system to top-down, the coordinate origin of text (font origin) will also be changed to the top-left corner (see also DynaPDF.SetFontOrigin()). If the coordinate system will be changed to bottom-up, the font origin is also changed to the down-left corner too.
Default value is BottomUp.
The property PageCoords is a global property which can be changed at any time. When transforming the coordinate system, bottom-up coordinates must be used.
See also DynaPDF.GetPageCoords.
See also SetPageCoords function in DynaPDF manual.
Examples
Set to top down:
MBS( "DynaPDF.SetPageCoords"; $PDF; "TopDown" )
See also
- DynaPDF.GetPageCoords
- DynaPDF.GetPageCount
- DynaPDF.GetPageMode
- DynaPDF.PlaceTemplate
- DynaPDF.RotateCoords
- DynaPDF.SetFont
- DynaPDF.SetPageBBox
- DynaPDF.SetPageLayout
- DynaPDF.SetPageMode
- DynaPDF.Table.Create
Example Databases
- Barcode/DynaPDF Barcode
- DynaPDF/Add Page Numbers
- DynaPDF/Catalog with tables
- DynaPDF/Create PDF with sum form field
- DynaPDF/Merge PDFs
- DynaPDF/Personalized PDFs
- DynaPDF/Place Picture
- DynaPDF/PSD Conversion
- DynaPDF/Tables
- DynaPDF/ZUGFeRD 2.0/Factur-X Invoice
Blog Entries
FileMaker Magazin
Created 18th August 2014, last changed 18th August 2014
DynaPDF.SetPageBreakExpression - DynaPDF.SetPageFormat
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins