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
Creates an ICC-based color space.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 13.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
FilePath | The native file path for the ICC profile file. | "/Users/cs/Desktop/profile.icc" |
Returns number or error.
See also CreateICCBasedColorSpace function in DynaPDF manual.
Creates an ICC Profile:
Set Variable [ $cs ; Value: MBS("DynaPDF.CreateICCBasedColorSpace"; $pdf; "/Users/cs/Desktop/CMYK.icc") ]
Set Variable [ $r ; Value: MBS( "DynaPDF.SetExtColorSpace"; $PDF; $cs ) ]
Set Variable [ $r ; Value: MBS("DynaPDF.SetFillColor"; $pdf; 1; 0; 0) ]
Set Variable [ $r ; Value: MBS("DynaPDF.WriteText"; $pdf; 100; 100; "Some cyan text") ]
This function checks for a license.
Created 1st December 2022, last changed 1st December 2022
DynaPDF.CreateGroupField - DynaPDF.CreateICCBasedColorSpaceContainer