CN command description
Description: Creates a new color in the internal color table. Allows to define the percentage of each color as well as the type.
Syntax: [ CN =
Color#
;
"ColorName"
;
type
;
cyan
;
Magenta
;
Yellow
;
Black
;
Red
;
Green
;
;
classid
;
ColorName
;
isspot
;
isdefault
;
ishidden
;
isreserved
;
isvarnish
;
screenptr.flags
;
screenptr.freqstate
;
screenptr.anglestate
;
screenptr.funcstate
;
screenptr.frequency
;
screenptr.angle
]
Color#
Integer
|
•
|
Internal ID# of the color (10-250) |
| |
|
|
"ColorName"
String
|
•
|
Color Name |
| |
|
|
type
Boolean
|
•
|
true -> Separated
false -> Spot
Quark Version only |
| |
|
|
cyan
Long Integer
|
•
|
Value 0 < C < 65535 |
| |
|
|
Magenta
Long Integer
|
•
|
Value 0 < M < 65535 |
| |
|
|
Yellow
Long Integer
|
•
|
Value 0 < Y < 65535 |
| |
|
|
Black
Long Integer
|
•
|
Value 0 < B < 65535 |
| |
|
|
Red
Long Integer
|
|
RGB Red Value (0-65535) |
| |
|
|
Green
Long Integer
|
|
RGB green Value (0-65535) |
| |
|
|
Long Integer
|
|
RGB blue Value (0-65535) |
| |
|
|
classid
Long Integer
|
|
Color type indicator.
CMYK -> 1 363 365 195
RGB -> 1 364 346 690
Lab -> 1 363 951 938
HSB -> 1 363 694 402 (Quark Version only)
Pantone -> 1 349 403 503 (Quark Version only) |
| |
|
|
ColorName
String
|
|
Internal name of color.
Quark Version only |
| |
|
|
isspot
Boolean
|
|
True if color is a spot color. |
| |
|
|
isdefault
Boolean
|
|
true if this color is quark default color.
Quark Version only |
| |
|
|
ishidden
Boolean
|
|
|
| |
|
|
isreserved
Boolean
|
|
Quark Version only |
| |
|
|
isvarnish
Boolean
|
|
Quark Version only |
| |
|
|
screenptr.flags
Long Integer
|
|
Quark Version only |
| |
|
|
screenptr.freqstate
Long Integer
|
|
Quark Version only |
| |
|
|
screenptr.anglestate
Long Integer
|
|
Quark Version only |
| |
|
|
screenptr.funcstate
Long Integer
|
|
Quark Version only |
| |
|
|
screenptr.frequency
Long Integer
|
|
Quark Version only |
| |
|
|
screenptr.angle
Long Integer
|
|
Quark Version only |
| |
|
|
Note: The new color is automatically inserted in the color table, so there is no need to use the [DC] command to define it.
Last parameters are reserved for the ReverseTCL extension.
Example: [CN= 12; "My Color", true; 10; 20; 50; 0]
See also: [DC]
The • sign indicates a mandatory parameter
©1993-2008 Trias.
All rights reserved.

|