EmfNamedEscape 类
内容
[
隐藏
]Summary: The MR_NAMEDESCAPE record passes arbitrary information to a specified printer driver.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfNamedEscape
Inheritance: EmfEscapeRecordType
Constructors
| Name | 描述 |
|---|---|
| EmfNamedEscape(source) | 初始化 EmfNamedEscape 类的新实例。 |
Properties
| Name | Type | Access | 描述 |
|---|---|---|---|
| cj_driver | int | r/w | 获取或设置一个 32 位无符号整数,用于指定字节数在 DriverName 字段中。该值必须为偶数。 |
| cj_in | int | r/w | 获取或设置一个 32 位无符号整数,指定要传递给打印机驱动程序的字节数。 |
| 数据 | System.Byte | r/w | 获取或设置要传递给打印机驱动程序的数据。必须有 cjIn 字节可用。 |
| driver_name | string | r/w | 获取或设置一个 16 位 Unicode 字符串,指定名称的 打印机驱动程序,该驱动程序将接收数据。此值必须是 cjDriver 字节长,并且必须以空字符结尾。 |
| escape | WmfMetafileEscapes | r/w | 获取或设置一个 32 位无符号整数,指定要执行的打印机驱动程序转义 操作。该值必须是 WMF MetafileEscapes 枚举([MSWMF] 第 2.1.1.17 节)中的一个。 |
| size | int | r/w | 获取或设置记录的大小 |
| type | EmfRecordType | r/w | 获取或设置类型。 |
Methods
| Name | 描述 |
|---|---|
| create_from_record(source) | 初始化 EmfRecord 类的新实例。 |
| create_from_type(type) | 初始化 EmfRecord 类的新实例。 |
Constructor: EmfNamedEscape(source)
EmfNamedEscape(source)
初始化 EmfNamedEscape 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| source | EmfRecord | 来源。 |
Method: create_from_record(source) [static]
create_from_record(source)
初始化 EmfRecord 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| source | EmfRecord | 来源。 |
Returns
| Type | Description |
|---|---|
| EmfRecord |
Method: create_from_type(type) [static]
create_from_type(type)
初始化 EmfRecord 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| type | EmfRecordType | 记录类型。 |
Returns
| Type | Description |
|---|---|
| EmfRecord |