Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  

DynaPDF.AddOutputIntentEx

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

Component: DynaPDF
Version: 4.4
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: 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.

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


DynaPDF.AddOutputIntent   -   DynaPDF.AddValToChoiceField

Feedback: Report problem or ask question.




Links
MBS Real Studio Chart Plugins - Pfarrgemeinde Messdiener Nickenich