EmfExtCreatePen Class

Summary: The EMR_EXTCREATEPEN record defines an extended logical pen for graphics operations. An
optional DIB can be specified to use as the line style.

Module: aspose.imaging.fileformats.emf.emf.records

Full Name: aspose.imaging.fileformats.emf.emf.records.EmfExtCreatePen

Inheritance: EmfObjectCreationRecordType

Constructors

NameDescription
EmfExtCreatePen()Initializes a new instance of the EmfExtCreatePen class.
EmfExtCreatePen(record)Initializes a new instance of the EmfExtCreatePen class.

Properties

NameTypeAccessDescription
bitmap_bufferWmfDeviceIndependentBitmapr/wGets or sets an optional buffer containing a packed DIB in the form of a WMF DeviceIndependentBitmap object
([MS-WMF] section 2.2.2.9). It is not required to be contiguous with the fixed portion of the EMR_EXTCREATEPEN record
elpEmfLogPenExr/wGets or sets a LogPenEx object (section 2.2.20) that specifies an extended logical
pen with attributes including an optional line style array.
ih_penintr/wGets or sets 32-bit unsigned integer that specifies the index of the extended logical
pen object in the EMF Object Table (section 3.1.1.1).
This index MUST be saved so that this object can be reused or modified.
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: EmfExtCreatePen()

 EmfExtCreatePen() 

Initializes a new instance of the EmfExtCreatePen class.

Constructor: EmfExtCreatePen(record)

 EmfExtCreatePen(record) 

Initializes a new instance of the EmfExtCreatePen class.

Parameters:

ParameterTypeDescription
recordEmfRecordThe record.

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