MetafileHeader 类

定义

包含关联的 Metafile 的特性。Contains attributes of an associated Metafile. 不可继承。Not inheritable.

public ref class MetafileHeader sealed
public sealed class MetafileHeader
type MetafileHeader = class
Public NotInheritable Class MetafileHeader
继承
MetafileHeader

属性

Bounds

获取限定关联的 RectangleMetafileGets a Rectangle that bounds the associated Metafile.

DpiX

获取关联的 Metafile 的水平分辨率(以每英寸点数为单位)。Gets the horizontal resolution, in dots per inch, of the associated Metafile.

DpiY

获取关联的 Metafile 的垂直分辨率(以每英寸点数为单位)。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

获取关联的 Metafile 的逻辑水平分辨率(以每英寸点数为单位)。Gets the logical horizontal resolution, in dots per inch, of the associated Metafile.

LogicalDpiY

获取关联的 Metafile 的逻辑垂直分辨率(以每英寸点数为单位)。Gets the logical vertical resolution, in dots per inch, of the associated Metafile.

MetafileSize

获取关联的 Metafile 的大小(以字节为单位)。Gets the size, in bytes, of the associated Metafile.

Type

获取关联的 Metafile 的类型。Gets the type of the associated Metafile.

Version

获取关联的 Metafile 的版本号。Gets the version number of the associated Metafile.

WmfHeader

获取关联的 Metafile 的 Windows 图元文件 (WMF) 头文件。Gets the Windows metafile (WMF) header file for the associated Metafile.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
IsDisplay()

返回一个值,该值指示关联的 Metafile 是否与设备相关。Returns a value that indicates whether the associated Metafile is device dependent.

IsEmf()

返回一个值,该值指示关联的 Metafile 是否为 Windows 增强型图元文件格式。Returns a value that indicates whether the associated Metafile is in the Windows enhanced metafile format.

IsEmfOrEmfPlus()

返回一个值,该值指示关联的 Metafile 是否为 Windows 增强型图元文件格式或 Windows 增强型图元文件 Plus 格式。Returns a value that indicates whether the associated Metafile is in the Windows enhanced metafile format or the Windows enhanced metafile plus format.

IsEmfPlus()

返回一个值,该值指示关联的 Metafile 是否为 Windows 增强型图元文件 Plus 格式。Returns a value that indicates whether the associated Metafile is in the Windows enhanced metafile plus format.

IsEmfPlusDual()

返回一个值,该值指示关联的 Metafile 是否为“双重”增强型图元文件格式。Returns a value that indicates whether the associated Metafile is in the Dual enhanced metafile format. 这种格式同时支持增强型和增强型 Plus 格式。This format supports both the enhanced and the enhanced plus format.

IsEmfPlusOnly()

返回一个值,该值指示关联的 Metafile 是否只支持 Windows 增强型图元文件 Plus 格式。Returns a value that indicates whether the associated Metafile supports only the Windows enhanced metafile plus format.

IsWmf()

返回一个值,该值指示关联的 Metafile 是否为 Windows 图元文件格式。Returns a value that indicates whether the associated Metafile is in the Windows metafile format.

IsWmfPlaceable()

返回一个值,该值指示关联的 Metafile 是否为 Windows 可放置图元文件格式。Returns a value that indicates whether the associated Metafile is in the Windows placeable metafile format.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于