ImageEn, unit imageenview |
|
TImageEnView.IdealImageWidth
Declaration
property IdealImageWidth: integer; (Read-only)
Description
Returns the width that an image should be to fill the entire TImageEnView without requiring a scrollbar
procedure Tfmain.ImageEnView1LayerSelectionChange(Sender: TObject);
var
bmp: TIEBitmap;
begin
// Show a preview in ImageEnView2 of the layer selected in ImageEnView1
bmp := ImageEnView2.IEBitmap;
ImageEnView1.CurrentLayer.CopyToBitmap( bmp, ImageEnView2.IdealImageWidth, ImageEnView2.IdealImageWidth );
ImageEnView2.Update();
end;
See Also
◼IdealImageHeight◼IdealComponentWidth◼IdealComponentHeight◼GetIdealZoom