The SetActiveLayer transaction activates or deactivates the specified layer. Certain transactions apply to active layers only. For example, objects can only be placed or modified on active edit layers. Raster operations such as Deskew, DespeckleEx, and ChangeRaster apply only to active raster layers.
Type XTYP_EXECUTE
Syntax [SetActiveLayer(docwinID, layerID, activate)]
|
Parameter |
Data type |
Values |
Meaning |
|
docwinID |
DWORD |
0 | docwinID |
active | specific |
|
layerID |
DWORD |
identifier of the layer to activate or deactivate | |
|
activate |
BOOL |
0 | 1 |
deactivate | activate |
Remarks
One edit layer and one raster on each page can be active at one time.
Release information
Added in Release 3.40.
See also