public final class EmfCreateDibPatternBrushPt extends EmfObjectCreationRecordType
The EMR_CREATEDIBPATTERNBRUSHPT record defines a pattern brush for graphics operations. The pattern is specified by a DIB.
The pattern 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 pattern brush to use in subsequent graphics operations.
Constructor and Description |
---|
EmfCreateDibPatternBrushPt()
Initializes a new instance of the
EmfCreateDibPatternBrushPt class. |
EmfCreateDibPatternBrushPt(EmfRecord source)
Initializes a new instance of the
EmfCreateDibPatternBrushPt class. |
Modifier and Type | Method and Description |
---|---|
WmfDeviceIndependentBitmap |
getBitmapBuffer()
Gets or sets a buffer containing a packed DIB in the form of a WMF
DeviceIndependentBitmap object ([MS-WMF] section 2.2.2.9).
|
int |
getIhBrush()
Gets or sets a 32-bit unsigned integer that specifies the index of the pattern brush
object in the EMF Object Table (section 3.1.1.1).
|
int |
getUsage()
Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color
table in the DIB header.
|
void |
setBitmapBuffer(WmfDeviceIndependentBitmap value)
Gets or sets a buffer containing a packed DIB in the form of a WMF
DeviceIndependentBitmap object ([MS-WMF] section 2.2.2.9).
|
void |
setIhBrush(int value)
Gets or sets a 32-bit unsigned integer that specifies the index of the pattern brush
object in the EMF Object Table (section 3.1.1.1).
|
void |
setUsage(int value)
Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color
table in the DIB header.
|
public EmfCreateDibPatternBrushPt(EmfRecord source)
Initializes a new instance of the EmfCreateDibPatternBrushPt
class.
source
- The source.public EmfCreateDibPatternBrushPt()
Initializes a new instance of the EmfCreateDibPatternBrushPt
class.
public int getIhBrush()
Gets or sets a 32-bit unsigned integer that specifies the index of the pattern 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 pattern 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 int getUsage()
Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the DIB header. This value MUST be in the DIBColors enumeration (section 2.1.9).
public void setUsage(int value)
Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the color table in the DIB header. This value MUST be in the DIBColors enumeration (section 2.1.9).
public WmfDeviceIndependentBitmap getBitmapBuffer()
Gets or sets a buffer containing a packed DIB in the form of a WMF DeviceIndependentBitmap object ([MS-WMF] section 2.2.2.9). It is not required to be contiguous with the fixed portion of the EMR_CREATEDIBPATTERNBRUSHPT record.
public void setBitmapBuffer(WmfDeviceIndependentBitmap value)
Gets or sets a buffer containing a packed DIB in the form of a WMF DeviceIndependentBitmap object ([MS-WMF] section 2.2.2.9). It is not required to be contiguous with the fixed portion of the EMR_CREATEDIBPATTERNBRUSHPT record.