Visual Basic (Declaration) | |
---|---|
Public Function ChangeToEmf() As IntPtr |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public IntPtr ChangeToEmf() |
C++/CLI | |
---|---|
public: IntPtr ChangeToEmf(); |
Return Value
A handle to the Windows enhanced metafile (EMF) this method creates.For an example, refer to ChangeFromEmf.
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 enhanced metafile bitmap and copies the RasterImage object to the enhanced metafile.
When you no longer need the enhanced metafile, you can free it using the Windows DeleteEnhMetaFile function.
This function does not support signed images.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family