共用方式為


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.

注意

This method supports only DIB section bitmaps.

Requirements

Header: atlimage.h

See Also

Concepts

CImage Class

CImage Members

CImage::GetColorTable