Raster commands are used to combine layers on a page into one raster layer, or to clean up a raster image.
Normally, the new raster that results from a raster operation is placed in a new document window. To have the new raster placed in the existing window, overwriting the source image, change the overwrite raster flag by using the IN_SetOverwriteRaster( TRUE ) function. Use the IN_GetOverwriteRaster function to request the status of this flag.
Most raster operations apply only to the active raster layer.
To find out which layer is the active raster:
· Use the IN_GetActiveLayer function.
The identifiers of the active raster and the active edit layer (if any) will be returned.
To activate a different layer:
· Use the IN_SetActiveLayer( docwinID, layerID, TRUE ) function.
The specified layer is activated.
The following topics explain various raster commands.
Changing raster characteristics
Back to: How Do I? Overview