Class EmfCreateMonoBrush

Class EmfCreateMonoBrush

Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.4.0)

The EMR_CREATEMONOBRUSH record defines a monochrome pattern brush for graphics operations. The pattern is specified by a monochrome DIB.

public sealed class EmfCreateMonoBrush : EmfObjectCreationRecordType

Inheritance

objectMetaObjectEmfRecordEmfObjectCreationRecordTypeEmfCreateMonoBrush

Inherited Members

EmfRecord.Type, EmfRecord.Size, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

EmfCreateMonoBrush(EmfRecord)

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfCreateMonoBrush class.

public EmfCreateMonoBrush(EmfRecord source)

Parameters

source EmfRecord

The source.

Properties

BitmapBuffer

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 WmfDeviceIndependentBitmap BitmapBuffer { get; set; }

Property Value

WmfDeviceIndependentBitmap

IhBrush

Gets or sets a 32-bit unsigned integer that specifies the index of the monochrome 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 IhBrush { get; set; }

Property Value

int

Usage

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 EmfDibColors Usage { get; set; }

Property Value

EmfDibColors