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.SetReplaceICCProfileData

Sets the replace ICC profile data.

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

MBS( "DynaPDF.SetReplaceICCProfileData"; PDF; ICCProfileType; ProfileData )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
ICCProfileType The profile type. Can be Gray, RGB, CMYK or Lab. "Gray"
ProfileData The container value with the profile data. MyTable::RGBProfile

Result

Returns OK or error.

Description

Sets the replace ICC profile data.
The plugin manages a list of replacement profiles which the DynaPDF library can query with the OnReplaceICCProfile callback. Needed for DynaPDF.CheckConformance.
This function fills the list, so the plugin can return the right profile for the right type when needed.

Examples

Set replacements for missing ICC profiles:

Set Variable [ $r ; Value: MBS("DynaPDF.SetReplaceICCProfileData"; $pdf; "rgb"; Create Text::RGB ICC Profile) ]
Set Variable [ $r ; Value: MBS("DynaPDF.SetReplaceICCProfile"; $pdf; "gray"; Create Text::Gray ICC Profile) ]
Set Variable [ $r ; Value: MBS("DynaPDF.SetReplaceICCProfileData"; $pdf; "cmyk"; Create Text::CMYK ICC Profile) ]

See also


DynaPDF.SetReplaceICCProfile   -   DynaPDF.SetResolution

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins