Class EmfSetColorAdjustment
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.2.0)
The EMR_SETCOLORADJUSTMENT record specifies color adjustment properties in the playback device context.
public sealed class EmfSetColorAdjustment : EmfStateRecordType
Inheritance
object ← MetaObject ← EmfRecord ← EmfStateRecordType ← EmfSetColorAdjustment
Inherited Members
EmfRecord.Type, EmfRecord.Size, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Color adjustment values are used to adjust the input color of the source bitmap for graphics operations performed by EMR_STRETCHBLT and EMR_STRETCHDIBITS records when STRETCH_HALFTONE mode is set from the StretchMode enumeration (section 2.1.32). The ColorAdjustment object specified by this record MUST be used in graphics operations that require a ColorAdjustment object, until a different ColorAdjustment object is specified by another EMR_SETCOLORADJUSTMENT record, or until the object is removed by a EMR_DELETEOBJECT record.
Constructors
EmfSetColorAdjustment(EmfRecord)
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfSetColorAdjustment class.
public EmfSetColorAdjustment(EmfRecord source)
Parameters
source
EmfRecord
The source.
Properties
ColorAdjustment
Gets or sets a ColorAdjustment object (section 2.2.2) that specifies color adjustment values.
public EmfColorAdjustment ColorAdjustment { get; set; }