EmfCreateBrushIndirect Class

Summary: The EMR_CREATEBRUSHINDIRECT record defines a logical brush for graphics operations.

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

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

Inheritance: EmfObjectCreationRecordType

Constructors

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

Properties

NameTypeAccessDescription
ih_brushintr/wGets or sets A 32-bit unsigned integer that specifies the index of the logical brush 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.
log_brushEmfLogBrushExr/wGets or sets A LogBrushEx object (section 2.2.12) that specifies the style, color, and
pattern of the logical brush. The BrushStyle field in this object MUST be BS_SOLID,
BS_HATCHED, or BS_NULL.
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: EmfCreateBrushIndirect()

 EmfCreateBrushIndirect() 

Initializes a new instance of the EmfCreateBrushIndirect class.

Constructor: EmfCreateBrushIndirect(source)

 EmfCreateBrushIndirect(source) 

Initializes a new instance of the EmfCreateBrushIndirect 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