ImageEn, unit iemview

TImageEnMView.ImageBitCount

TImageEnMView.ImageBitCount


Declaration

property ImageBitCount[idx: Integer]: Integer;


Description

Returns the bit count of the image, idx. It can be:
1 : Black/white image
24 : True color image

Note: If images are being loaded on demand, then the image dimensions will not be valid until the image is loaded. Either use the OnImageLoaded to delay until the image is ready, or force loading of the image by using EnsureImageLoaded