EmfColorAdjustment Class
The ColorAdjustment object defines values for adjusting the colors in source bitmaps in bit-block transfers.
Inheritance Hierarchy
SystemObject
  Aspose.Imaging.FileFormats.EmfMetaObject
    Aspose.Imaging.FileFormats.Emf.Emf.ObjectsEmfObject
      Aspose.Imaging.FileFormats.Emf.Emf.ObjectsEmfColorAdjustment

Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Objects
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public sealed class EmfColorAdjustment : EmfObject

The EmfColorAdjustment type exposes the following members.

Constructors
  NameDescription
Public methodEmfColorAdjustment
Initializes a new instance of the EmfColorAdjustment class
Properties
  NameDescription
Public propertyBlueGamma
Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the blue primary of the source colors. This value SHOULD be in the range from 2,500 to 65,000. A value of 10,000 means gamma correction MUST NOT be performed.
Public propertyBrightness
Gets or sets a 16-bit signed integer that specifies the amount of brightness to be applied to the source object. This value SHOULD be in the range from –100 to 100. A value of zero means brightness adjustment MUST NOT be performed.
Public propertyColorfullness
Gets or sets a 16-bit signed integer that specifies the amount of colorfulness to be applied to the source object. This value SHOULD be in the range from –100 to 100. A value of zero means colorfulness adjustment MUST NOT be performed
Public propertyContrast
Gets or sets a 16-bit signed integer that specifies the amount of contrast to be applied to the source object. This value SHOULD be in the range from –100 to 100. A value of zero means contrast adjustment MUST NOT be performed.
Public propertyGreenGamma
Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the green primary of the source colors. This value SHOULD be in the range from 2,500 to 65,000. A value of 10,000 means gamma correction MUST NOT be performed.
Public propertyIlluminantIndex
Gets or sets a 16-bit unsigned integer that specifies the type of standard light source under which the image is viewed, from the Illuminant enumeration (section 2.1.19).
Public propertyRedGamma
Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the red primary of the source colors. This value SHOULD be in the range from 2,500 to 65,000. A value of 10,000 means gamma correction MUST NOT be performed.
Public propertyRedGreenTint
Gets or sets 16-bit signed integer that specifies the amount of red or green tint adjustment to be applied to the source object. This value SHOULD be in the range from –100 to 100. Positive numbers adjust towards red and negative numbers adjust towards green. A value of zero means tint adjustment MUST NOT be performed
Public propertyReferenceBlack
Gets or sets a 16-bit unsigned integer that specifies the black reference for the source colors. Any colors that are darker than this are treated as black. This value SHOULD be in the range from zero to 4,000
Public propertyReferenceWhite
Gets or sets a 16-bit unsigned integer that specifies the white reference for the source colors. Any colors that are lighter than this are treated as white. This value SHOULD be in the range from 6,000 to 10,000.
Public propertySize
Gets or sets a 16-bit unsigned integer that specifies the size in bytes of this object. This MUST be 0x0018.
Public propertyValues
Gets or sets a 16-bit unsigned integer that specifies how to prepare the output image. This field can be set to NULL or to any combination of values in the ColorAdjustment enumeration (section 2.1.5).
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also