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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.SetReplaceICCProfile
Sets the replace ICC profile path.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 6.1 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| 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" |
Result
Returns OK or error.
Description
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.
Examples
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
- DynaPDF.CheckConformance
- DynaPDF.GetReplaceICCProfile
- DynaPDF.GetReplaceICCProfileData
- DynaPDF.New
- DynaPDF.SetReplaceICCProfileData
Blog Entries
- MBS FileMaker Plugin, version 7.4pr6
- MBS FileMaker Plugin 6.2 for OS X/Windows
- MBS FileMaker Plugin, version 6.2pr10
FileMaker Magazin
Release notes
- Version 10.5
- Fixed memory leak in DynaPDF.SetReplaceICCProfileData function.
- Version 7.5
- Version 7.4
- Using DynaPDF.SetReplaceICCProfile for PDF/A conversion is now optional as we can use generic profiles if you don't provide ones.
Created 8th March 2016, last changed 30th September 2017
DynaPDF.SetPrintSettings - DynaPDF.SetReplaceICCProfileData
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins