ComponentOne FlexReport for WinForms
WriteMetafileToFile Method

C1.Win.C1Document.4 Assembly > C1.Win.C1Document Namespace > Utils Class : WriteMetafileToFile Method
The System.Drawing.Imaging.Metafile to serialize.
The target file name.
Serializes a System.Drawing.Imaging.Metafile to a disk file.
Syntax
'Declaration
 
Public Shared Function WriteMetafileToFile( _
   ByVal metafile As System.Drawing.Imaging.Metafile, _
   ByVal fileName As System.String _
) As System.Boolean
public static System.bool WriteMetafileToFile( 
   System.Drawing.Imaging.Metafile metafile,
   System.string fileName
)

Parameters

metafile
The System.Drawing.Imaging.Metafile to serialize.
fileName
The target file name.

Return Value

True if metafile was successfully saved.
See Also

Reference

Utils Class
Utils Members
WriteMetafileToStream Method