EmfNamedEscape Class

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

NameDescription
EmfNamedEscape(source)Initializes a new instance of the EmfNamedEscape class.

Properties

NameTypeAccessDescription
cj_driverintr/wGets 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_inintr/wGets or sets A 32-bit unsigned integer specifying the number of bytes to pass to the printer driver.
databyter/wGets or sets The data to pass to the printer driver. There MUST be cjIn bytes available.
driver_namestringr/wGets 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.
escapeWmfMetafileEscapesr/wGets 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).
sizeintr/wGets or sets the size of the record
typeEmfRecordTyper/wGets or sets the type.

Methods

NameDescription
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:

ParameterTypeDescription
sourceEmfRecordThe source.

Method: create_from_record(source) [static]

 create_from_record(source) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Returns

TypeDescription
EmfRecord

Method: create_from_type(type) [static]

 create_from_type(type) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
typeEmfRecordTypeThe record type.

Returns

TypeDescription
EmfRecord