共用方式為


CImage::IsIndexed

Determines whether a bitmap's pixels are mapped to a color palette.

bool IsIndexed( ) const throw( );

Return Value

true if indexed; otherwise false.

Remarks

This method returns true only if the bitmap is 8-bit (256 colors) or less.

Note

This method supports only DIB section bitmaps.

Requirements

Header: atlimage.h

See Also

Reference

CImage Class

CImage::GetColorTable