FlexReport for .NET | ComponentOne
C1.WPF.Document Assembly / C1.WPF.Document Namespace / Utils Class / WriteMetafileToFile Method
The System.Drawing.Imaging.Metafile to serialize.
The target file name.

In This Topic
    WriteMetafileToFile Method (Utils)
    In This Topic
    Serializes a System.Drawing.Imaging.Metafile to a disk file.
    Syntax
    'Declaration
     
    Public Shared Function WriteMetafileToFile( _
       ByVal metafile As Metafile, _
       ByVal fileName As String _
    ) As Boolean
    public static bool WriteMetafileToFile( 
       Metafile metafile,
       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