Class MetafileHeader
Contains attributes and dimensions of a metafile.
Inherited Members
Namespace: DRIT.Drawing.Imaging
Assembly: DRIT.Drawing.dll
Syntax
public sealed class MetafileHeader
Properties
Bounds
Gets the bounding rectangle of the metafile.
Declaration
public Rectangle Bounds { get; }
Property Value
| Type | Description |
|---|---|
| Rectangle |
DpiX
Gets the horizontal DPI of the metafile.
Declaration
public float DpiX { get; }
Property Value
| Type | Description |
|---|---|
| float |
DpiY
Gets the vertical DPI of the metafile.
Declaration
public float DpiY { get; }
Property Value
| Type | Description |
|---|---|
| float |
FrameUnit
Gets the frame unit of the metafile.
Declaration
public MetafileFrameUnit FrameUnit { get; }
Property Value
| Type | Description |
|---|---|
| MetafileFrameUnit |
IsEmf
Gets a value indicating whether the metafile is an EMF (Enhanced Metafile).
Declaration
public bool IsEmf { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsEmfPlus
Gets a value indicating whether the metafile is an EMF+ (Enhanced Metafile Plus).
Declaration
public bool IsEmfPlus { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsWmf
Gets a value indicating whether the metafile is a WMF (Windows Metafile).
Declaration
public bool IsWmf { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Type
Gets the type of the metafile.
Declaration
public EmfType Type { get; }
Property Value
| Type | Description |
|---|---|
| EmfType |