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.SetExtColorSpace
Activates an extended color space in the graphics state.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 7.4 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| Handle | Handle of an extended color space. |
Result
Returns OK or error.
Description
Activates an extended color space in the graphics state.An extended color spaces are non-device color spaces, such as ICCBased, Lab, Separation, DeviceN, and so on. The current fill and stroke color are initialised to black after the color space has been changed. Device color spaces can be set with DynaPDF.SetColorSpace. The fill and stroke color spaces can also be set separately with DynaPDF.SetExtFillColorSpace and DynaPDF.SetExtStrokeColorSpace.
Requires DynaPDF Pro license.
See also SetExtColorSpace function in DynaPDF manual.
Examples
Draw line in a separation color:
# draw line in Cut Color
Set Variable [ $cs ; Value: MBS("DynaPDF.CreateSeparationCS"; $pdf; "Through Cut"; "DeviceCMYK"; -1; MBS("DynaPDF.CMYK"; 0; 255; 0; 0)) ]
Set Variable [ $r ; Value: MBS("DynaPDF.SetExtColorSpace"; $pdf; $cs) ]
Set Variable [ $r ; Value: MBS("DynaPDF.SetFillColor"; $pdf; 1) ]
Set Variable [ $r ; Value: MBS( "DynaPDF.Rectangle"; $pdf; $x; $y; $w; $h; "Stroke" ) ]
See also
- DynaPDF.AddDeviceNSeparations
- DynaPDF.CMYK
- DynaPDF.CreateSeparationCS
- DynaPDF.GetColorSpace
- DynaPDF.Initialize
- DynaPDF.New
- DynaPDF.Rectangle
- DynaPDF.SetColorSpace
- DynaPDF.SetExtStrokeColorSpace
- DynaPDF.SetFillColor
Example Databases
Blog Entries
Release notes
- Version 7.4
Created 27th August 2017, last changed 11st November 2018
DynaPDF.SetDrawDirection - DynaPDF.SetExtFillColorSpace
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins