public class EmfCreateBrushInDirect extends EmfObjectCreationRecordType
The EMR_CREATEBRUSHINDIRECT record defines a logical brush for graphics operations.
The logical brush object defined by this record can be selected into the playback device context by an EMR_SELECTOBJECT record (section 2.3.8.5), which specifies the logical brush to use in subsequent graphics operations.
Constructor and Description |
---|
EmfCreateBrushInDirect(EmfRecord source)
Initializes a new instance of the
EmfCreateBrushInDirect class. |
Modifier and Type | Method and Description |
---|---|
int |
getIhBrush()
Gets 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).
|
EmfLogBrushEx |
getLogBrush()
Gets or sets A LogBrushEx object (section 2.2.12) that specifies the style, color, and
pattern of the logical brush.
|
void |
setIhBrush(int value)
Gets 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).
|
void |
setLogBrush(EmfLogBrushEx value)
Gets or sets A LogBrushEx object (section 2.2.12) that specifies the style, color, and
pattern of the logical brush.
|
getSize, getType, setSize, setType
deepClone_internalized
public EmfCreateBrushInDirect(EmfRecord source)
Initializes a new instance of the EmfCreateBrushInDirect
class.
source
- The source.public int getIhBrush()
Gets 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.
public void setIhBrush(int value)
Gets 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.
public EmfLogBrushEx getLogBrush()
Gets 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.
public void setLogBrush(EmfLogBrushEx value)
Gets 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.
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.