Click or drag to resize

AspectRatioPreservingMode Enumeration

Designates whether the aspect ratio of an image or a texture should be preserved.

Namespace: Altaxo.Drawing
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public enum AspectRatioPreservingMode
Members
Member nameValueDescription
None0Aspect ratio is not preserved.
PreserveXPriority1Aspect ratio is preserved. The horizontal size or scaling is used to calculate the final size.
PreserveYPriority2Aspect ratio is preserved. The vertical size or scaling is used to calculate the final size.

The AspectRatioPreservingMode type exposes the following members.

Extension Methods
 NameDescription
Public Extension MethodIsT Determines whether the enumeration value is equal to the specified value.
(Defined by EnumerationExtensions)
Public Extension MethodWithClearedFlagT Returns the enum value with the specified flag cleared.
(Defined by EnumerationExtensions)
Public Extension MethodWithFlagT Returns the enum value with the specified flag set or cleared, depending on the value argument.
(Defined by EnumerationExtensions)
Public Extension MethodWithSetFlagT Returns the enum value with the specified flag set.
(Defined by EnumerationExtensions)
Top
See Also