Chapter Contents

Previous

Next
Image Color Map: _standardCmap

Image Color Map: _standardCmap



Fills a color map object with a system-supplied color map


Syntax
Details
Example

Syntax

CALL SEND (object-id, '_standardCmap', color-map-name);

Argument Type Description
color-map-name
C the color map to be used:
COLORMIX_CGA
16-color personal computer color map

COLORMIX_192
192-color blend

SYSTEM
the color map currently installed on the device or system. The color map obtained is a snapshot of the current device color map and does not change as the device's color map changes.

BEST
a special dynamic color map that can contain up to 129 colors. The color map contains the PC 16 colors, a set of grays, and an even distribution of colors. The colors are dynamically selected based on the display capabilities and the number of colors available. The best set of colors is chosen accordingly.

DEFAULT
an initial set of colors that are chosen by default. The colors selected may vary between releases.



Details

You can display the colors included in each predefined color map by using _putCmap. See _putCmap in this class.


Example

This example assigns the system color map to the map object:

call send(cmap_id,'_standardCmap',
          'SYSTEM');


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.