Retrieves a value that indicates whether the image has been inverted.
#include "ltwrappr.h"
L_BOOL LImageViewerCell::IsBitmapInverted(nSubCellIndex, uFlags)
A zero-based index into the image list attached to the cell. This sub-cell contains the image that is being tested to see if it is inverted. Pass -2 to retrieve the invert status of the image in the selected sub-cell.
Reserved for future use. Pass 0.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
To invert the image, call LImageViewerCell::InvertBitmap function.
For an example, refer to LImageViewerCell::EnableLowMemoryUsageCallBack.