Obsolete transaction. Replaced by: GetLayerRGBColor
The GetLayerColor transaction returns the color of the specified layer.
Type XTYP_REQUEST
Syntax [GetLayerColor(docwinID, layerID, <pageID>)]
|
Parameters |
Data type |
Values |
Meaning |
|
docwinID |
DWORD |
0 | docwinID |
active | specific |
|
layerID |
DWORD |
layerID |
identifier of the layer to query |
|
pageID |
DWORD |
0 | pageID |
current | specific. Optional parameter. |
|
Reply |
Data type |
Values |
Meaning |
|
layercolor |
WORD |
1 |
blue |
|
|
|
2 |
cyan |
|
|
|
3 |
red |
|
|
|
4 |
yellow |
|
|
|
5 |
green |
|
|
|
6 |
magenta |
|
|
|
7 |
gray |
|
|
|
8 |
dark blue |
|
|
|
9 |
dark cyan |
|
|
|
10 |
dark red |
|
|
|
11 |
dark yellow |
|
|
|
12 |
dark green |
|
|
|
13 |
dark magenta |
|
|
|
14 |
dark gray |
Release information
Added in Release 3.70.
Obsoleted in Release 4.5.