Click or drag to resize
ReaderWmf.GetGeometryFromHemf Method
Creates metafile from hemf (handle to metafile) and converts it into Drawing.

Namespace: Ab2d
Assembly: Ab2d.ReaderWmf (in Ab2d.ReaderWmf.dll) Version: 7.1.5512.1040
Syntax
C#
public Image GetGeometryFromHemf(
	IntPtr hemf,
	GeometrySettings settings
)

Parameters

hemf
Type: System.IntPtr
handle to metafile
settings
Type: Ab2d.Common.ReaderWmf.GeometrySettings
GeometrySettings that defines how the geometry will be created

Return Value

Type: Image
Image with geometry elements defined in metafile file
Remarks

Creates metafile from hemf (handle to metafile) and converts it into Drawing.

To read metafile from clipboard it is also possible to use GetGeometryFromClipboard() or GetGeometryFromClipboard(GeometrySettings) methods.

See Also