## MetafileHeader class

Contains attributes of an associated Metafile. Not inheritable.

```csharp
public sealed class MetafileHeader
```

## Properties

| Name | Description |
| --- | --- |
| [Bounds](../../system.drawing.imaging/metafileheader/bounds/) { get; } | Gets a [`Rectangle`](../../system.drawing/rectangle/) that bounds the associated [`Metafile`](../metafile/). |
| [DpiX](../../system.drawing.imaging/metafileheader/dpix/) { get; } | Gets the horizontal resolution, in dots per inch, of the associated [`Metafile`](../metafile/). |
| [DpiY](../../system.drawing.imaging/metafileheader/dpiy/) { get; } | Gets the vertical resolution, in dots per inch, of the associated [`Metafile`](../metafile/). |
| [EmfPlusHeaderSize](../../system.drawing.imaging/metafileheader/emfplusheadersize/) { get; } | Gets the size, in bytes, of the enhanced metafile plus header file. |
| [LogicalDpiX](../../system.drawing.imaging/metafileheader/logicaldpix/) { get; } | Gets the logical horizontal resolution, in dots per inch, of the associated [`Metafile`](../metafile/). |
| [LogicalDpiY](../../system.drawing.imaging/metafileheader/logicaldpiy/) { get; } | Gets the logical vertical resolution, in dots per inch, of the associated [`Metafile`](../metafile/). |
| [MetafileSize](../../system.drawing.imaging/metafileheader/metafilesize/) { get; } | Gets the size, in bytes, of the associated [`Metafile`](../metafile/). |
| [Type](../../system.drawing.imaging/metafileheader/type/) { get; } | Gets the type of the associated [`Metafile`](../metafile/) |
| [Version](../../system.drawing.imaging/metafileheader/version/) { get; } | Gets the version number of the associated [`Metafile`](../metafile/). |
| [WmfHeader](../../system.drawing.imaging/metafileheader/wmfheader/) { get; } | Gets the Windows metafile (WMF) header file for the associated [`Metafile`](../metafile/). |

## Methods

| Name | Description |
| --- | --- |
| [IsDisplay](../../system.drawing.imaging/metafileheader/isdisplay/)() | Returns a value that indicates whether the associated [`Metafile`](../metafile/) is device dependent. |
| [IsEmf](../../system.drawing.imaging/metafileheader/isemf/)() | Returns a value that indicates whether the associated [`Metafile`](../metafile/) is in the Windows enhanced metafile format. |
| [IsEmfOrEmfPlus](../../system.drawing.imaging/metafileheader/isemforemfplus/)() | Returns a value that indicates whether the associated [`Metafile`](../metafile/) is in the Windows enhanced metafile format or the Windows enhanced metafile plus format. |
| [IsEmfPlus](../../system.drawing.imaging/metafileheader/isemfplus/)() | Returns a value that indicates whether the associated [`Metafile`](../metafile/) is in the Windows enhanced metafile plus format. |
| [IsEmfPlusDual](../../system.drawing.imaging/metafileheader/isemfplusdual/)() | Returns a value that indicates whether the associated [`Metafile`](../metafile/) is in the Dual enhanced metafile format. This format supports both the enhanced and the enhanced plus format. |
| [IsEmfPlusOnly](../../system.drawing.imaging/metafileheader/isemfplusonly/)() | Returns a value that indicates whether the associated [`Metafile`](../metafile/) supports only the Windows enhanced metafile plus format. |
| [IsWmf](../../system.drawing.imaging/metafileheader/iswmf/)() | Returns a value that indicates whether the associated [`Metafile`](../metafile/) is in the Windows metafile format. |
| [IsWmfPlaceable](../../system.drawing.imaging/metafileheader/iswmfplaceable/)() | Returns a value that indicates whether the associated [`Metafile`](../metafile/) is in the Windows placeable metafile format. |

### See Also

* namespace [System.Drawing.Imaging](../../system.drawing.imaging/)
* assembly [Aspose.Drawing](../../)


