EmfPlusDrawRects Class

Summary: The EmfPlusDrawRects record specifies drawing a series of rectangles

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

Full Name: aspose.imaging.fileformats.emf.emfplus.records.EmfPlusDrawRects

Inheritance: EmfPlusDrawingRecordType

Aspose.Imaging Version: 24.5.0

Constructors

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

Properties

NameTypeAccessDescription
compressedboolr/wGets or sets a value indicating whether the PointData is compressed.
If set, RectData contains an EmfPlusRect object (section 2.2.2.38).
If clear, RectData contains an EmfPlusRectF object (section 2.2.2.39).
data_sizeintr/wGets or sets a 32-bit unsigned integer that MUST define the 32-bit–aligned number of
bytes of data in the RecordData field that follows. This number does not include the 12-byte record header.
flagsshortr/wGets or sets a 16-bit unsigned integer that contains information for some records on how
the operation is to be performed and on the structure of the record.
object_idbyter/wGets or sets the object identifier.
The index of an EmfPlusPen object (section 2.2.1.7) in the EMF+
Object Table to draw the rectangles. The value MUST be zero to 63, inclusive.
rect_dataRectangleF[]r/wGets or sets the rect data
An array of either an EmfPlusRect or EmfPlusRectF objects of Count length that defines the rectangle data.
sizeintr/wGets or sets a 32-bit unsigned integer that specifies the 32-bit-aligned number of bytes
in the entire record, including the 12-byte record header and record-specific data.
typeEmfPlusRecordTyperGets a 16-bit unsigned integer that identifies the record type.

Constructor: EmfPlusDrawRects(source)

 EmfPlusDrawRects(source) 

Initializes a new instance of the EmfPlusDrawRects class.

Parameters:

ParameterTypeDescription
sourceEmfPlusRecordThe source.