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



CopyToWMF


Unit:SDL_polchart
Class:TPolChart
Declaration:procedure CopyToWMF (FName: string; BlkWhite: boolean);

The method CopyToWMF creates a Windows metafile file using the file specification FName. The meta file contains the whole chart display. The file extension is automatically set to '.WMF ' regardless of the extension in the parameter FName. The metafile is stored as a black-and-white copy if the parameter BlkWhite is set to TRUE.

Hint: Any text (as used e.g. with the MarkAt method) can be correctly displayed in metafiles only if the font selected by the Font property of PolChart is fully scalable. "Arial" would be a good choice.


Last Update: 2012-Oct-20