| ImageEn, unit imageenview |
|
TImageEnView.IdealComponentHeight
Declaration
property IdealComponentHeight: Integer;
Description
IdealComponentWidth and
IdealComponentHeight return the size that the TImageEnView component should be to exactly fit the current image.
Read-only
Example
// Resize ImageEnView to fully contains Carlotta.jpg
ImageEnView.LoadFromFile('C:\Carlotta.jpg');
ImageEnView1.Width := ImageEnView1.IdealComponentWidth;
ImageEnView1.Height := ImageEnView1.IdealComponentHeight;
See Also
◼loFitToLayersWhenZooming
◼IdealComponentWidth
◼IdealImageWidth
◼IdealImageHeight
◼GetIdealZoom