[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GcBitmap.AutoLevel

AutoLevel Method

AutoLevel(bool, float, float)

Modifies R, G, B color intensities such that the maximum range of values (0..255) is fully covered.

Declaration
public void AutoLevel(bool keepRelativeIntensities = true, float lowClipPercent = 0.2, float highClipPercent = 0.2)
Public Sub AutoLevel(Optional keepRelativeIntensities As Boolean = True, Optional lowClipPercent As Single = 0.2, Optional highClipPercent As Single = 0.2)
Parameters
Type Name Description
bool keepRelativeIntensities

Indicates if the method should keep the relative intensities of the color channels unchanged.

float lowClipPercent

The percent of extremely low values to be clipped, not greater than 10.

float highClipPercent

The percent of extremely high values to be clipped, not greater than 10.