Upraviť

Zdieľať cez


MetafileHeader Class

Definition

Contains attributes of an associated Metafile. Not inheritable.

public ref class MetafileHeader sealed
public sealed class MetafileHeader
type MetafileHeader = class
Public NotInheritable Class MetafileHeader
Inheritance
MetafileHeader

Remarks

Note

In .NET 6 and later versions, the System.Drawing.Common package, which includes this type, is only supported on Windows operating systems. Use of this type in cross-platform apps causes compile-time warnings and run-time exceptions. For more information, see System.Drawing.Common only supported on Windows.

Properties

Bounds

Gets a Rectangle that bounds the associated Metafile.

DpiX

Gets the horizontal resolution, in dots per inch, of the associated Metafile.

DpiY

Gets the vertical resolution, in dots per inch, of the associated Metafile.

EmfPlusHeaderSize

Gets the size, in bytes, of the enhanced metafile plus header file.

LogicalDpiX

Gets the logical horizontal resolution, in dots per inch, of the associated Metafile.

LogicalDpiY

Gets the logical vertical resolution, in dots per inch, of the associated Metafile.

MetafileSize

Gets the size, in bytes, of the associated Metafile.

Type

Gets the type of the associated Metafile.

Version

Gets the version number of the associated Metafile.

WmfHeader

Gets the Windows metafile (WMF) header file for the associated Metafile.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IsDisplay()

Returns a value that indicates whether the associated Metafile is device dependent.

IsEmf()

Returns a value that indicates whether the associated Metafile is in the Windows enhanced metafile format.

IsEmfOrEmfPlus()

Returns a value that indicates whether the associated Metafile is in the Windows enhanced metafile format or the Windows enhanced metafile plus format.

IsEmfPlus()

Returns a value that indicates whether the associated Metafile is in the Windows enhanced metafile plus format.

IsEmfPlusDual()

Returns a value that indicates whether the associated Metafile is in the Dual enhanced metafile format. This format supports both the enhanced and the enhanced plus format.

IsEmfPlusOnly()

Returns a value that indicates whether the associated Metafile supports only the Windows enhanced metafile plus format.

IsWmf()

Returns a value that indicates whether the associated Metafile is in the Windows metafile format.

IsWmfPlaceable()

Returns a value that indicates whether the associated Metafile is in the Windows placeable metafile format.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to