Class EmfCreateDibPatternBrushPt
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.7.0)
The EMR_CREATEDIBPATTERNBRUSHPT record defines a pattern brush for graphics operations. Thepattern is specified by a DIB.
public sealed class EmfCreateDibPatternBrushPt : EmfObjectCreationRecordType
{
public int Pattern;
public Int32Offset Size;
public Int32Offset DitherInfo;
public RgnOffset BrushTransform;
}
Inheritance
object ← MetaObject ← EmfRecord ← EmfObjectCreationRecordType ← EmfCreateDibPatternBrushPt
Inherited Members
EmfRecord.Type , EmfRecord.Size , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Remarks
The pattern brush object defined by this record can be selected into the playback device context byan EMR_SELECTOBJECT record (section 2.3.8.5), which specifies the pattern brush to use insubsequent graphics operations.
Constructors
EmfCreateDibPatternBrushPt(EmfRecord)
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfCreateDibPatternBrushPt class.
public EmfCreateDibPatternBrushPt(EmfRecord source)
{
}
Parameters
source
EmfRecord
The source.
EmfCreateDibPatternBrushPt()
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfCreateDibPatternBrushPt class.
public EmfCreateDibPatternBrushPt()
{
}
Properties
BitmapBuffer
Gets or sets a buffer containing a packed DIB in the form of a WMFDeviceIndependentBitmap object ([MS-WMF] section 2.2.2.9). It is not required to becontiguous with the fixed portion of the EMR_CREATEDIBPATTERNBRUSHPT record.
public WmfDeviceIndendentBitmap BitmapBuffer { get; set; }
Property Value
IhBrush
Gets or sets a 32-bit unsigned integer that specifies the index of the pattern brushobject in the EMF Object Table (section 3.1.1.1). This index MUST be saved so that this objectcan be reused or modified.
public int IhBrush
{
get;
set;
}
Property Value
Usage
Gets or sets a 32-bit unsigned integer that specifies how to interpret values in the colortable in the DIB header. This value MUST be in the DIBColors enumeration (section 2.1.9).
public EmfDibColors Usage
{
get;
set;
}