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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Sets the replace ICC profile data.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 7.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
ICCProfileType | The profile type. Can be Gray, RGB, CMYK or Lab. | "Gray" |
ProfileData | The container value with the profile data. | MyTable::RGBProfile |
Returns OK or error.
See also SetReplaceICCProfileData function in DynaPDF manual.
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) ]
This function checks for a license.
Created 30th September 2017, last changed 30th September 2017