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.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

DynaPDF.SetPDFVersion

Sets the PDF version.

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

MBS( "DynaPDF.SetPDFVersion"; PDF; version )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
version The version number. Can be 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, PDF/X-1a:2001, PDF/X-1a:2003, PDF/X-3:2002, PDF/X-3:2003, PDF/A-1b and other values. "1.3"

Result

Returns OK or error message.

Description

Sets the PDF version.
The function changes the output PDF file version. The default output version is PDF 1.4. If a PDF 1.5 or higher file will be opened for import, the output version will be changed if necessary to the version that the file requires.
Possible values in plugin version 4.4: 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 2.0, PDF/X-1a:2001, PDF/X-1a:2002, PDF/X-3:2002, PDF/X-3:2003, PDF/A-1b 2005, PDF/X-4, PDF/A 1a 2005, PDF/A 2a, PDF/A 2b, PDF/A 2u, PDF/A 3a, PDF/A 3b or PDF/A 3u.
DynaPDF Version 4.0 also supports ZUGFeRD Basic, ZUGFeRD Comfort and ZUGFeRD Extended.

Requires DynaPDF Lite license for PDF/A and PDF/X versions.

See also SetPDFVersion function in DynaPDF manual.

Examples

Set PDF Version 1.3:

Set Variable [$r; Value:MBS("DynaPDF.SetPDFVersion"; $pdf; "1.3")]

Set basic ZUGFeRD version:

Set Variable [$r; Value:MBS("DynaPDF.SetPDFVersion"; $pdf; "ZUGFeRD Basic")]
# with PDF/A 3b

See also

Example Databases


DynaPDF.SetOrientationEx   -   DynaPDF.SetPageCoords

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins