- image
- The source image.
Visual Basic (Declaration) | |
---|---|
Public Shared Function ChangeToEmf( _ ByVal image As RasterImage _ ) As IntPtr |
Visual Basic (Usage) | ![]() |
---|---|
Dim image As RasterImage Dim value As IntPtr value = RasterImageConverter.ChangeToEmf(image) |
C# | |
---|---|
public static IntPtr ChangeToEmf( RasterImage image ) |
C++/CLI | |
---|---|
public: static IntPtr ChangeToEmf( RasterImage^ image ) |
Parameters
- image
- The source image.
Return Value
A handle to the Windows enhanced metafile (EMF) this method creates.This method results in only one copy of the image, and it invalidates this Leadtools.RasterImage object. You must call RasterImage.Dispose after calling this method.
This function allocates an enhanced metafile bitmap and copies the Leadtools.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.
For more information refer to RasterImage and GDI/GDI+.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)