Debenu Quick PDF logo

AddRGBSeparationColor

Vector graphics, Color

Version history

This function was introduced in Quick PDF Library version 12.13.

Description

Adds an RGB separation color to the document.

A separation color has a name and an equivalent color in the RGB color space. If the document is viewed the RGB color will be used. If the document is printed to an image setter a separation with the specified name will be generated.

The values of the color parameters range from 0 to 1, with 0 indicating 0% and 1 indicating 100% of the color.

Availability

Windows/Delphi, Windows/ActiveX, Windows/DLL, Mac/Dylib, iOS, Android

Parameters

ColorName unistr The name of the separation color, for example "PANTONE 403 EC". This can be any name you want, but is usually set to the name of a specific spot color that your printing press will know what to do with.
Red double The red component of the color equivalent to the spot color
Green double The green component of the color equivalent to the spot color
Blue double The blue component of the color equivalent to the spot color
Options int32 This parameter is ignored and should be set to 0

Return type and values

0 int32 The separation color could not be added. The color name may already have been used.
1 int32 The separation color was added successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport