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



CopyToClipboard


Unit: SDL_rchart
Class: TSmithChart
Declaration: [1] procedure CopyToClipboard (BlkWhite: boolean);
[2] procedure CopyToClipboard (BlkWhite, IncludeCrossHairs: boolean);

The method CopyToClipboard copies the bitmap of TSmithChart 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 crosshair is 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 http://www.lohninger.com/examples.html for downloading the code): schart



Last Update: 2023-Dec-13