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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

DynaPDF.AddOutputIntentEx

Adds an ICC profile to the PDF file like AddOutputIntent but accepts a file as a container.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.AddOutputIntentEx"; PDF; Container )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Container The container with the ICC Profile as file content.

Result

Returns handle of the Rendering Intent object or error.

Description

Adds an ICC profile to the PDF file like AddOutputIntent but accepts a file as a container.
see also DynaPDF.AddOutputIntent.

See also AddOutputIntentEx function in DynaPDF manual.

Examples

Check conformance and add required output intents:

#Check if this PDF conforms to PDF/A-1b 2005
Set Variable [$c; Value:MBS("DynaPDF.CheckConformance"; $pdf; "PDFA 1b 2005")]
If [$c = 1]
    # A RGB ICC profile must be added to the document
    Set Variable [$r; Value:MBS("DynaPDF.AddOutputIntentEx"; $pdf; ZUGFeRD Invoice::RGB ICC Profile)]
Else If [$c = 2]
    # A CMYK ICC profile must be added to the document
    Set Variable [$r; Value:MBS("DynaPDF.AddOutputIntentEx"; $pdf; ZUGFeRD Invoice::CMYK ICC Profile)]
Else If [$c = 3]
    # A Gray, RGB, or CMYK ICC profile must be added to the document
    Set Variable [$r; Value:MBS("DynaPDF.AddOutputIntentEx"; $pdf; ZUGFeRD Invoice::RGB ICC Profile)]
End If

See also

Example Databases

Blog Entries

FileMaker Magazin

Created 3th November 2014, last changed 16th August 2016


DynaPDF.AddOutputIntent - DynaPDF.AddValToChoiceField

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat