MetafileExtensionsSave(Metafile, Stream) Method
Saves a
Metafile instance into a
Stream.
Actual format is selected by the raw format of the metafile.
Namespace: KGySoft.DrawingAssembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 8.1.0
public static void Save(
this Metafile metafile,
Stream stream
)
<ExtensionAttribute>
Public Shared Sub Save (
metafile As Metafile,
stream As Stream
)
public:
[ExtensionAttribute]
static void Save(
Metafile^ metafile,
Stream^ stream
)
[<ExtensionAttribute>]
static member Save :
metafile : Metafile *
stream : Stream -> unit
- metafile Metafile
- The Metafile instance to save.
- stream Stream
- The Stream into the metafile should be saved.
In Visual Basic and C#, you can call this method as an instance method on any object of type
Metafile. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
This method is supported on Windows only.