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.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Sets the replace ICC profile path.

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

MBS( "DynaPDF.SetReplaceICCProfile"; PDF; ICCProfileType; Path )


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"
Path The new native path. "c:/Windows/System32/spool/drivers/color/gray_gamma2.2.icm"


Returns OK or error.


Sets the replace ICC profile path.
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.


Set gray profile:

MBS( "DynaPDF.SetReplaceICCProfile"; $pdf; "gray"; "c:/Windows/System32/spool/drivers/color/gray_gamma2.2.icm" )

Set RGB profile:

MBS( "DynaPDF.SetReplaceICCProfile"; $pdf; "RGB"; "c:/Windows/System32/spool/drivers/color/sRGB Color Space Profile.icm" )

Set CMYK profile:

MBS( "DynaPDF.SetReplaceICCProfile"; $pdf; "gray"; "c:/Windows/System32/spool/drivers/color/EuropeISOCoatedFOGRA27.icc" )

See also

Example Databases

DynaPDF.SetPrintSettings   -   DynaPDF.SetReplaceICCProfileData

Feedback: Report problem or ask question.

MBS FileMaker Plugins