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....



CopyToBitMap


Unit: SDL_rchart
Class: TRChart
Declaration: [1] procedure CopyToBitmap (ABitmap: TBitmap; BlkWhite: boolean);
[2] procedure CopyToBitmap (ABitmap: TBitmap; BlkWhite, IncludeCrossHairs: boolean);

The method CopyToBitmap copies the complete chart window to the bitmap ABitmap. The destination bitmap is automatically resized to contain the copied area. The bitmap is stored as a black-and-white copy if the parameter BlkWhite is set to TRUE. The currently visible crosshairs are only copied if IncludeCrossHairs is set to TRUE.

Hint: The screen copy generated by CopyToBitMap includes the scale region. If you want to copy the data area only (not including the scale area) you should use the method CopyToBitMapDAOnly.



Last Update: 2023-Dec-13