Class EmfPlusDrawRects
Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Records
Assembly: Aspose.Imaging.dll (25.2.0)
The EmfPlusDrawRects record specifies drawing a series of rectangles
public sealed class EmfPlusDrawRects : EmfPlusDrawingRecordType
Inheritance
object ← MetaObject ← EmfPlusRecord ← EmfPlusDrawingRecordType ← EmfPlusDrawRects
Inherited Members
EmfPlusRecord.Type, EmfPlusRecord.Flags, EmfPlusRecord.Size, EmfPlusRecord.DataSize, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
EmfPlusDrawRects(EmfPlusRecord)
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.EmfPlus.Records.EmfPlusDrawRects class.
public EmfPlusDrawRects(EmfPlusRecord source)
Parameters
source
EmfPlusRecord
The source.
Properties
Compressed
Gets 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).
public bool Compressed { get; set; }
Property Value
ObjectId
Gets 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.
public byte ObjectId { get; set; }
Property Value
RectData
Gets or sets the rect data An array of either an EmfPlusRect or EmfPlusRectF objects of Count length that defines the rectangle data.
public RectangleF[] RectData { get; set; }