Visual Basic (Declaration) | |
---|---|
Public Function ChangeToWmf() As IntPtr |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public IntPtr ChangeToWmf() |
Managed Extensions for C++ | |
---|---|
public: IntPtr ChangeToWmf(); |
C++/CLI | |
---|---|
public: IntPtr ChangeToWmf(); |
Return Value
A handle to the Windows metafile (WMF) this method creates.For an example, refer to ChangeFromWmf.
This method results in only one copy of the image, and it invalidates this RasterImage object. You must call Dispose after calling this method.
This function allocates an metafile bitmap and copies the RasterImage object to the metafile.
When you no longer need the metafile, you can free it using the Windows DeleteMetaFile function.
This function does not support signed images.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family