Chapter Contents

Previous

Next
Image Color Map: _copy

Image Color Map: _copy



Copies a color map object to another color map object


Syntax
Details
Example

Syntax

CALL SEND (source-cmap-id, '_copy', destination-cmap-id);

Argument Type Description
source-cmap-id
N the identifier of the color map that will be copied
destination-cmap-id
N the identifier of the destination color map


Details

You must define the destination object with the LOADCLASS and INSTANCE functions before applying the _copy method. Because _copy creates another copy of the color map in memory, you should delete the destination object when you are finished using it.


Example

This example copies a color-map:

   call send(cmap_id,'_copy',cmap-two);


Chapter Contents

Previous

Next

Top of Page

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