ImageEn, unit imageenview

TImageEnView.SelectionAbsWidth

TImageEnView.SelectionAbsWidth


Declaration

property SelectionAbsWidth: Integer;


Description

Locks the selection to a specific width (in pixels) when SelectionLockAspectRatio is 0, or a minimum width when SelectionLockAspectRatio is -2.


Examples

// 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

SelectionAbsHeight
SelectionLockAspectRatio
LockWidth