I have legacybitmap set to true but can i still use statements ;ike iamgeenvect.iebitmap.width or is it better to use imageenvect.bitmap.width since legacybitmap is true. thanks. Pierre
It would only be "better" to use IEBitmap if LegacyBitmap is false, because there will not be a Bitmap in the Bitmap property. If you set LegacyBitmap to true then you can use either because there will be a IEBitmap and a Bitmap.
thanks..so i am am assuming that when you set legacybitmap to false, you are saving memory space because no bitmap are loaded. in this case, if i need a bitmap from an iebitmap, is there a way to get that? i am using graphics 32 in one of my computation and i cannot assign an iebitmap to a bitmap 32. in this case, i would like to be able to convert the iebitmap to a bitmap with legacybitmap to false. is that feasible? thanks Pierre
Yes, it is better to set LegacyBitmap to false, then it uses ImageEn's IEBitmap, instead of a regular TBitmap. IEBitmap is much more memory efficient, particularly with large images.