- image
- The source image.
Visual Basic (Declaration) | |
---|---|
Public Shared Function ToWmf( _ ByVal image As RasterImage _ ) As IntPtr |
Visual Basic (Usage) | Copy Code |
---|---|
Dim image As RasterImage Dim value As IntPtr value = RasterImageConverter.ToWmf(image) |
C# | |
---|---|
public static IntPtr ToWmf( RasterImage image ) |
C++/CLI | |
---|---|
public: static IntPtr ToWmf( RasterImage^ image ) |
Parameters
- image
- The source image.
Return Value
A handle to the Windows metafile (WMF) this method creates.For an example, refer to Leadtools.Drawing.RasterImageConverter.FromWmf
When this method is completed, there are two copies of the drawing in memory: the WMF and the original Leadtools.RasterImage object. Freeing one will not affect the other.
This function allocates an metafile bitmap and copies the Leadtools.RasterImage data 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.
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)