ImageEn, unit imageenio

TImageEnIO.AttachedBitmap

TImageEnIO.AttachedBitmap


Declaration

property AttachedBitmap: TBitmap;


Description

Use this property to attach a TImageEnIO to a normal TBitmap object to provide wider format support and functionality.

This property is mutually exclusive with AttachedTImage and AttachedImageEn.

Note: If the bitmap.PixelFormat is pfDevice, it will be converted to pf24bit


Example

var
  bmp: TBitmap;
Begin
  bmp := TBitmap.Create;
  ImageEnIO1.AttachedBitmap := bmp;
  ImageEnIO1.LoadFromFile('C:\alfa.tif');
  ...
End;