EmfPlusLevelsEffect Class
The LevelsEffect object specifies adjustments to the highlights, midtones, and shadows of an image.
Inheritance Hierarchy
SystemObject
  Aspose.Imaging.FileFormats.EmfMetaObject
    Aspose.Imaging.FileFormats.Emf.EmfPlus.ObjectsEmfPlusObject
      Aspose.Imaging.FileFormats.Emf.EmfPlus.ObjectsEmfPlusImageEffectsObjectType
        Aspose.Imaging.FileFormats.Emf.EmfPlus.ObjectsEmfPlusLevelsEffect

Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public sealed class EmfPlusLevelsEffect : EmfPlusImageEffectsObjectType

The EmfPlusLevelsEffect type exposes the following members.

Constructors
  NameDescription
Public methodEmfPlusLevelsEffect
Initializes a new instance of the EmfPlusLevelsEffect class
Properties
  NameDescription
Public propertyHighlight
Gets or sets the Specifies how much to lighten the highlights of an image. The color channel values at the high end of the intensity range are altered more than values near the middle or low ends, which means an image can be lightened without losing the contrast between the darker portions of the image. 0 ≤ value < Specifies that highlights with a percent of intensity above this threshold SHOULD 100 be increased. 100 Specifies that highlights MUST NOT change.
Public propertyMidTone
Gets or sets the Specifies how much to lighten or darken the midtones of an image. Color channel values in the middle of the intensity range are altered more than values near the high or low ends, which means an image can be lightened or darkened without losing the contrast between the darkest and lightest portions of the image. -100 ≤ value < 0 Specifies that midtones are made darker. 0 Specifies that midtones MUST NOT change. 0 < value ≤ 100 Specifies that midtones are made lighter.
Public propertyShadow
Gets or sets the Specifies how much to darken the shadows of an image. Color channel values at the low end of the intensity range are altered more than values near the middle or high ends, which means an image can be darkened without losing the contrast between the lighter portions of the image. 0 Specifies that shadows MUST NOT change. 0 < value ≤ 100 Specifies that shadows with a percent of intensity below this threshold are made darker.
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