Document Library for WPF | ComponentOne
C1.WPF.Document.4.5.2 Assembly / C1.WPF.Document Namespace / Utils Class / WriteMetafileToStream Method
The System.Drawing.Imaging.Metafile to serialize.
The target System.IO.Stream.

In This Topic
    WriteMetafileToStream Method
    In This Topic
    Syntax
    'Declaration
     
    Public Shared Function WriteMetafileToStream( _
       ByVal metafile As Metafile, _
       ByVal stream As Stream _
    ) As Boolean
    public static bool WriteMetafileToStream( 
       Metafile metafile,
       Stream stream
    )

    Parameters

    metafile
    The System.Drawing.Imaging.Metafile to serialize.
    stream
    The target System.IO.Stream.

    Return Value

    True if metafile was successfully saved.
    See Also