IExport.SaveToMetafileEnh
IExport
procedure SaveToMetafileEnh(Const FileName: WideString);
Type Library
TeeChartx
Description
This method is now deprecated. Please see the IMetafileExport interface for the newer, more complete functionality.
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 advantage 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 'simple' metafile format.
Example [Visual Basic]:
This code creates a new Enhanced WMF metafile:
TChart1.Export.SaveToMetafileEnh "c:\mychart.emf"