Click or drag to resize
ReaderWmfGetGeometryFromHemf 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: SystemIntPtr
handle to metafile
settings
Type: Ab2d.Common.ReaderWmfGeometrySettings
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