MetafileExtensionsSaveAsWmf(Metafile, String) Method
Saves the specified metafile to the specified file as a WMF (Windows Metafile) using Windows API.
Namespace: KGySoft.DrawingAssembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 10.0.0-rc.1
public static void SaveAsWmf(
this Metafile metafile,
string fileName
)
<ExtensionAttribute>
Public Shared Sub SaveAsWmf (
metafile As Metafile,
fileName As String
)
public:
[ExtensionAttribute]
static void SaveAsWmf(
Metafile^ metafile,
String^ fileName
)
[<ExtensionAttribute>]
static member SaveAsWmf :
metafile : Metafile *
fileName : string -> unit
- metafile Metafile
- The Metafile instance to save.
- fileName String
- The name of the file to which to save the metafile. The directory of the specified path is created if it does not exist.
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.