ComponentOne FlexReport for WinForms
WriteMetafileToStream Method

C1.Win.C1Document.4 Assembly > C1.Win.C1Document Namespace > Utils Class : WriteMetafileToStream Method
The System.Drawing.Imaging.Metafile to serialize.
The target System.IO.Stream.
Serializes a System.Drawing.Imaging.Metafile to a System.IO.Stream.
Syntax
'Declaration
 
Public Shared Function WriteMetafileToStream( _
   ByVal metafile As System.Drawing.Imaging.Metafile, _
   ByVal stream As System.IO.Stream _
) As System.Boolean
public static System.bool WriteMetafileToStream( 
   System.Drawing.Imaging.Metafile metafile,
   System.IO.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

Reference

Utils Class
Utils Members
WriteMetafileToMemory Method
WriteMetafileToFile Method