Click or drag to resize

ImageScaleMode Enumeration

Namespace:  Internal.Aga.Controls.Tree
Assembly:  NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public enum ImageScaleMode
Members
  Member nameValueDescription
Clip0 Don't scale
Fit1 Scales image to fit the display rectangle, aspect ratio is not fixed.
ScaleDown2 Scales image down if it is larger than display rectangle, taking aspect ratio into account
ScaleUp3 Scales image up if it is smaller than display rectangle, taking aspect ratio into account
AlwaysScale4 Scales image to match the display rectangle, taking aspect ratio into account
See Also