EmfNamedEscape Class
Contents
[
Hide
]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 | Description |
|---|---|
| EmfNamedEscape(source) | Initializes a new instance of the EmfNamedEscape class. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| cj_driver | int | r/w | Gets or sets A 32-bit unsigned integer that specifies the number of bytes in the DriverName field. This value MUST be an even number. |
| cj_in | int | r/w | Gets or sets A 32-bit unsigned integer specifying the number of bytes to pass to the printer driver. |
| data | System.Byte | r/w | Gets or sets The data to pass to the printer driver. There MUST be cjIn bytes available. |
| driver_name | string | r/w | Gets or sets A string of 16-bit Unicode characters that specifies the name of the printer driver that will receive data. This value MUST be cjDriver bytes long, and it MUST be terminated with a null character. |
| escape | WmfMetafileEscapes | r/w | Gets or sets a 32-bit unsigned integer that specifies the printer driver escape to execute. This MUST be one of the values in the WMF MetafileEscapes enumeration ([MSWMF] section 2.1.1.17). |
| size | int | r/w | Gets or sets the size of the record |
| type | EmfRecordType | r/w | Gets or sets the type. |
Methods
| Name | Description |
|---|---|
| create_from_record(source) | Initializes a new instance of the EmfRecord class. |
| create_from_type(type) | Initializes a new instance of the EmfRecord class. |
Constructor: EmfNamedEscape(source)
EmfNamedEscape(source)
Initializes a new instance of the EmfNamedEscape class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| source | EmfRecord | The source. |
Method: create_from_record(source) [static]
create_from_record(source)
Initializes a new instance of the EmfRecord class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| source | EmfRecord | The source. |
Returns
| Type | Description |
|---|---|
| EmfRecord |
Method: create_from_type(type) [static]
create_from_type(type)
Initializes a new instance of the EmfRecord class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| type | EmfRecordType | The record type. |
Returns
| Type | Description |
|---|---|
| EmfRecord |