TCustomTeePanel.SaveToMetafileEnh

TCustomTeePanel.SaveToMetafileEnh
TCustomTeePanel

procedure SaveToMetafileEnh(Const FileName: String);

Unit
TeeProcs

Description
The SaveToMetafileEnh method creates a new Enhanced WMF file and stores Chart drawing instructions on it. WMF's are created to be "placeable" and prefixed with the Aldus header. That means the image can be resized when embedded in container applications like MS Word. The Metafile format has the advantadge of being smaller than equivalent saved images in bitmap format. Disadvantages are that some Windows GDI (graphic API) calls can't be used with metafiles. EMF format (using the 32bit version) is a much better format supporting more graphic instructions than mpleetafile format.

Example
:

This code creates a new Enhanced WMF metafile:

Chart1.SaveToMetafileEnh( 'c:\mychart.wmf' );