MetaHeader 类

定义

包含有关 Windows 格式 (WMF) 图元文件的信息。Contains information about a windows-format (WMF) metafile.

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

构造函数

MetaHeader()

初始化 MetaHeader 类的新实例。Initializes a new instance of the MetaHeader class.

属性

HeaderSize

获取和设置头文件的大小,以字节为单位。Gets or sets the size, in bytes, of the header file.

MaxRecord

获取或设置关联的 Metafile 对象中最大记录的大小,以字节为单位。Gets or sets the size, in bytes, of the largest record in the associated Metafile object.

NoObjects

获取或设置同时存在于 Metafile 对象中的对象的最大数目。Gets or sets the maximum number of objects that exist in the Metafile object at the same time.

NoParameters

未使用。Not used. 始终返回 0。Always returns 0.

Size

获取或设置关联的 Metafile 对象的大小(以字节为单位)。Gets or sets the size, in bytes, of the associated Metafile object.

Type

获取或设置关联的 Metafile 对象的类型。Gets or sets the type of the associated Metafile object.

Version

获取或设置头格式的版本号。Gets or sets the version number of the header format.

方法

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)
MemberwiseClone()

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

(继承自 Object)
ToString()

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

(继承自 Object)

适用于