Specifies how element's proportions are maintained.
Namespace:
Neodynamic.SDK.ImageDrawAssembly: Neodynamic.SDK.ImageDraw (in Neodynamic.SDK.ImageDraw.dll) Version: 3.0.2000.0 (3.0.2000.0)
Syntax
| C# |
|---|
public enum LockAspectRatio |
| Visual Basic (Declaration) |
|---|
Public Enumeration LockAspectRatio |
| Visual C++ |
|---|
public enum class LockAspectRatio |
Members
| Member name | Description | |
|---|---|---|
| None |
Specifies that element's proportions are not maintained.
| |
| WidthBased |
Specifies that element's proportions are maintained based on the new width value.
| |
| HeightBased |
Specifies that element's proportions are maintained based on the new height value.
| |
| Fit |
Specifies that element's proportions are maintained based on the new width and height values.
| |
| FitIfMax |
Specifies that element's proportions are maintained based on the new width and height values only if the source size is bigger than the fitting size; otherwise the element's size will not be altered.
|