Allows the crop selection to be locked to a specific ratio, e.g. 0.75 for a 4:3 image or 1.77 for a 16:9 image

If LockAspectRatio is -1, the aspect ratio is only locked when the user presses the ALT key

If LockAspectRatio is >0, ImageEn locks the selection to the specified aspect ratio

Note: By default, when dragging the side grips the aspect ratio is not enforced. Set SideGripsRespectLocks = true to force all grips to respect the ratio

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public double LockAspectRatio { get; set; }
Public Property LockAspectRatio As Double
	Get
	Set
public:
property double LockAspectRatio {
	double get ();
	void set (double value);
}

See Also