EmfSaveDc 类
内容
[
隐藏
]Summary: Saves the current state of playback device context on a
stack of states saved by preceding EMR_SAVEDC
records, if any. The state consists of graphics properties
and objects, including the currently selected bitmap,
brush, palette, font, pen, and region. An
EMR_RESTOREDC record is used to restore the state.
This EMF record specifies no parameters.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfSaveDc
Inheritance: EmfStateRecordType
Constructors
| Name | 描述 |
|---|---|
| EmfSaveDc() | 初始化 EmfSaveDc 类的新实例。 |
| EmfSaveDc(source) | 初始化 EmfSaveDc 类的新实例。 |
Properties
| Name | Type | Access | 描述 |
|---|---|---|---|
| size | int | r/w | 获取或设置记录的大小 |
| type | EmfRecordType | r/w | 获取或设置类型。 |
Methods
| Name | 描述 |
|---|---|
| create_from_record(source) | 初始化 EmfRecord 类的新实例。 |
| create_from_type(type) | 初始化 EmfRecord 类的新实例。 |
Constructor: EmfSaveDc()
EmfSaveDc()
初始化 EmfSaveDc 类的新实例。
Constructor: EmfSaveDc(source)
EmfSaveDc(source)
初始化 EmfSaveDc 类的新实例。
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 |