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 path.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 6.1 | ✅ 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" |
Path | The new native path. | "c:/Windows/System32/spool/drivers/color/gray_gamma2.2.icm" |
Returns OK or error.
See also SetReplaceICCProfile function in DynaPDF manual.
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" )
This function checks for a license.
Created 8th March 2016, last changed 30th September 2017
DynaPDF.SetRenderingIntent - DynaPDF.SetReplaceICCProfileData