EmfSetColorAdjustment

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfStateRecordType

public final class EmfSetColorAdjustment extends EmfStateRecordType

The EMR_SETCOLORADJUSTMENT record specifies color adjustment properties in the playback device context.

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

ConstructorDescription
EmfSetColorAdjustment(EmfRecord source)Initializes a new instance of the EmfSetColorAdjustment class.

Methods

MethodDescription
getColorAdjustment()Gets or sets a ColorAdjustment object (section 2.2.2) that specifies color adjustment values.
setColorAdjustment(EmfColorAdjustment value)Gets or sets a ColorAdjustment object (section 2.2.2) that specifies color adjustment values.

EmfSetColorAdjustment(EmfRecord source)

public EmfSetColorAdjustment(EmfRecord source)

Initializes a new instance of the EmfSetColorAdjustment class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

getColorAdjustment()

public EmfColorAdjustment getColorAdjustment()

Gets or sets a ColorAdjustment object (section 2.2.2) that specifies color adjustment values.

Returns: EmfColorAdjustment

setColorAdjustment(EmfColorAdjustment value)

public void setColorAdjustment(EmfColorAdjustment value)

Gets or sets a ColorAdjustment object (section 2.2.2) that specifies color adjustment values.

Parameters:

ParameterTypeDescription
valueEmfColorAdjustment