public final class EmfPlusDrawRects extends EmfPlusDrawingRecordType
The EmfPlusDrawRects record specifies drawing a series of rectangles
| Constructor and Description |
|---|
EmfPlusDrawRects(EmfPlusRecord source)
Initializes a new instance of the
EmfPlusDrawRects class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCompressed()
Gets or sets a value indicating whether the PointData is compressed.
|
byte |
getObjectId()
Gets or sets the object identifier.
|
RectangleF[] |
getRectData()
Gets or sets the rect data
An array of either an EmfPlusRect or EmfPlusRectF objects of Count length that defines the rectangle data.
|
void |
setCompressed(boolean value)
Gets or sets a value indicating whether the PointData is compressed.
|
void |
setObjectId(byte value)
Gets or sets the object identifier.
|
void |
setRectData(RectangleF[] value)
Gets or sets the rect data
An array of either an EmfPlusRect or EmfPlusRectF objects of Count length that defines the rectangle data.
|
getDataSize, getFlags, getSize, getType, setDataSize, setFlags, setSizepublic EmfPlusDrawRects(EmfPlusRecord source)
Initializes a new instance of the EmfPlusDrawRects class.
source - The source.public boolean getCompressed()
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).
Value:true if compressed; otherwise, false.public void setCompressed(boolean value)
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).
Value:true if compressed; otherwise, false.public byte getObjectId()
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.
Value: The object identifier.public void setObjectId(byte value)
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.
Value: The object identifier.public RectangleF[] getRectData()
Gets or sets the rect data An array of either an EmfPlusRect or EmfPlusRectF objects of Count length that defines the rectangle data.
public void setRectData(RectangleF[] value)
Gets or sets the rect data An array of either an EmfPlusRect or EmfPlusRectF objects of Count length that defines the rectangle data.
Copyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.