Class EmfPlusBrightnessContrastEffect
Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects
Assembly: Aspose.Imaging.dll (25.2.0)
The BrightnessContrastEffect object specifies an expansion or contraction of the lightest and darkest areas of an image.
public sealed class EmfPlusBrightnessContrastEffect : EmfPlusImageEffectsObjectType
Inheritance
object ← MetaObject ← EmfPlusObject ← EmfPlusImageEffectsObjectType ← EmfPlusBrightnessContrastEffect
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
EmfPlusBrightnessContrastEffect()
public EmfPlusBrightnessContrastEffect()
Properties
BrightnessLevel
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 int BrightnessLevel { get; set; }
Property Value
ContrastLevel
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.
public int ContrastLevel { get; set; }