The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Class: TColorScale
Declaration: procedure CopyToBitMap (ABitmap: TBitMap; PosX, PosY: integer);

The method CopyToBitmap copies the color scale image to the bitmap ABitmap. The position of the image can be controlled by the parameters PosX and PosY (pixel coordinates). Please note that the size of ABitmap has to be sufficient to include the entire image, otherwise the color scale image will be clipped.

Last Update: 2014-Apr-17