EmfCreateDibPatternBrushPt Class
Contents
[
Hide
]Summary: The EMR_CREATEDIBPATTERNBRUSHPT record defines a pattern brush for graphics operations. The
pattern is specified by a DIB.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfCreateDibPatternBrushPt
Inheritance: EmfObjectCreationRecordType
Constructors
Name | Description |
---|---|
EmfCreateDibPatternBrushPt() | Initializes a new instance of the EmfCreateDibPatternBrushPt class. |
EmfCreateDibPatternBrushPt(source) | Initializes a new instance of the EmfCreateDibPatternBrushPt class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
bitmap_buffer | WmfDeviceIndependentBitmap | r/w | 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. |
ih_brush | int | r/w | 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. |
size | int | r/w | Gets or sets the size of the record |
type | EmfRecordType | r/w | Gets or sets the type. |
usage | EmfDibColors | r/w | 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). |
Methods
Name | Description |
---|---|
create_from_record(source) | Initializes a new instance of the EmfRecord class. |
create_from_type(type) | Initializes a new instance of the EmfRecord class. |
Constructor: EmfCreateDibPatternBrushPt()
EmfCreateDibPatternBrushPt()
Initializes a new instance of the EmfCreateDibPatternBrushPt class.
Constructor: EmfCreateDibPatternBrushPt(source)
EmfCreateDibPatternBrushPt(source)
Initializes a new instance of the EmfCreateDibPatternBrushPt class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
Method: create_from_record(source) [static]
create_from_record(source)
Initializes a new instance of the EmfRecord class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
Returns
Type | Description |
---|---|
EmfRecord |
Method: create_from_type(type) [static]
create_from_type(type)
Initializes a new instance of the EmfRecord class.
Parameters:
Parameter | Type | Description |
---|---|---|
type | EmfRecordType | The record type. |
Returns
Type | Description |
---|---|
EmfRecord |