Perform level adjustment with midtone.

Note: Null values (causing no change) would be: AdjustLevels( 0, 128, 255, 0, 255 );

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public void AdjustLevels(
	int shadow,
	int midTone,
	int highlight,
	int outShadow,
	int outHighlight
)
Public Sub AdjustLevels ( _
	shadow As Integer, _
	midTone As Integer, _
	highlight As Integer, _
	outShadow As Integer, _
	outHighlight As Integer _
)
public:
void AdjustLevels(
	int shadow, 
	int midTone, 
	int highlight, 
	int outShadow, 
	int outHighlight
)

Parameters

shadow
Int32
Low input value (0-255)
midTone
Int32
Midtone input value (0-255, 128 = linear adjustment)
highlight
Int32
High input value (0-255)
outShadow
Int32
Low output value (0-255)
outHighlight
Int32
High output value (0-255)

See Also