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

DynaPDF.AddOutputIntentEx

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

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

MBS( "DynaPDF.AddOutputIntentEx"; PDF; Container )

Parameters

Parameter Description Example value
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


DynaPDF.AddOutputIntent   -   DynaPDF.AddValToChoiceField

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins