Export (0) Print
Expand All

Metafile.GetMetafileHeader Method (IntPtr, WmfPlaceableFileHeader)

Returns the MetafileHeader associated with the specified Metafile.

Namespace:  System.Drawing.Imaging
Assembly:  System.Drawing (in System.Drawing.dll)

public static MetafileHeader GetMetafileHeader(
	IntPtr hmetafile,
	WmfPlaceableFileHeader wmfHeader
)

Parameters

hmetafile
Type: System.IntPtr

The handle to the Metafile for which to return a header.

wmfHeader
Type: System.Drawing.Imaging.WmfPlaceableFileHeader

A WmfPlaceableFileHeader.

Return Value

Type: System.Drawing.Imaging.MetafileHeader
The MetafileHeader associated with the specified Metafile.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft