SetColorBalance method
Sets the tint curves for color balance operations on the selected color.
Syntax
HRESULT retVal = object.SetColorBalance(Color, ulCount, Weights);
Parameters
Color [in]
Type: DXLUTCOLORMember of the DXLUTCOLOR enumeration that selects the color channel for this tint curve.
ulCount [in]
Type: unsigned longNumber of values in the returned tint curve. This value should be less than or equal to 256.
Weights [in]
Type: const floatArray of values that is the tint curve used for color balancing.
Remarks
A tint curve is a separate brightness curve for each color channel. This gives you finer control over the output colors than the brightness adjustment alone.