EmfPlusBrightnessContrastEffect Class
The BrightnessContrastEffect object specifies an expansion or contraction of the lightest and darkest areas 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.ObjectsEmfPlusBrightnessContrastEffect

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

The EmfPlusBrightnessContrastEffect type exposes the following members.

Constructors
  NameDescription
Public methodEmfPlusBrightnessContrastEffect
Initializes a new instance of the EmfPlusBrightnessContrastEffect class
Properties
  NameDescription
Public propertyBrightnessLevel
Gets or sets a 32-bit signed integer that specifies the brightness level. This value MUST be in the range -255 through 255, with effects as follows: -255 ≤ value < 0 As the value decreases, the brightness of the image SHOULD decrease. 0 A value of 0 specifies that the brightness MUST NOT change. 0 < value ≤ 255 As the value increases, the brightness of the image SHOULD increase.
Public propertyContrastLevel
Gets or sets a 32-bit signed integer that specifies the contrast level. This value MUST be in the range -100 through 100, with effects as follows: -100 ≤ value < 0 As the value decreases, the contrast of the image SHOULD decrease. 0 A value of 0 specifies that the contrast MUST NOT change. 0 < value ≤ 100 As the value increases, the contrast of the image SHOULD increase.
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