ImageEn, unit imageenview |
|
TImageEnView.SelectionAbsHeight
Declaration
property SelectionAbsHeight: Integer;
Description
Locks the selection to a specific height (in pixels) when
SelectionLockAspectRatio is 0, or a minimum height when
SelectionLockAspectRatio is -2.
// We want a fixed selection of 100 x 100 pixels
ImageEnView.SelectionAbsWidth := 100;
ImageEnView.SelectionAbsHeight := 100;
ImageEnView.SelectionLockAspectRatio := 0;
// User cannot create selection smaller than 100 x 100 pixels
ImageEnView.SelectionAbsWidth := 100;
ImageEnView.SelectionAbsHeight := 100;
ImageEnView.SelectionLockAspectRatio := -2;
See Also
◼SelectionAbsWidth
◼SelectionLockAspectRatio
◼LockHeight