webmaster442.windowsterminal.sizemode - webmaster442/WindowsTerminal GitHub Wiki
SizeMode
Namespace: Webmaster442.WindowsTerminal
Controls image sizing mode
public enum SizeMode
Inheritance Object → ValueType → Enum → SizeMode Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Fields
Name | Value | Description |
---|---|---|
None | 0 | No resize is performed |
Fit | 1 | Downsize to the minimum size that fits into the maximum size by keeping aspect ratio |
FitWidth | 2 | Downsize to fit with of the maximum size by keeping aspect ratio |
FitHeight | 3 | Downsize to fit height of the maximum size by keeping aspect ratio |
Manual | 4 | Manual size mode. Image is resized to the specified maximum size. |