GetInvert method

Retrieves the threshold value used for color inversion.

Syntax

HRESULT retVal = object.GetInvert(pThreshold);

Parameters

  • pThreshold [out]
    Type: float

    Pointer to the threshold value to use for color inversion, which represents a fraction of a one-byte color channel.

Remarks

Color inversion produces new color values that are the previous color values subtracted from 255. Only values above pThreshold*256 are inverted.

This value is used when the OPID_DXLUTBUILDER_Invert lookup table operation is used.