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: TRChart
Declaration: [1] procedure CopyToClipboard (BlkWhite: boolean);
[2] procedure CopyToClipboard (BlkWhite, IncludeCrossHairs: boolean);

The method CopyToClipboard copies the bitmap of RChart into the Windows clipboard. The chart 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 CopyToClipboard includes the scale region. If you want to copy the data area only (not including the scale area) you should use the method CopyToClipboardDAOnly.

Example: This method is used in the following example program (see for downloading the code): rch2win

Last Update: 2014-Jun-13