How to fit an image into a Canvas.
Hierarchy
System.Object
System.ValueType
System.Enum
WebSupergoo.ImageGlue7.DrawOptions.ImageFitType
Interfaces
System.IComparable
System.IFormattable
System.IConvertible
Notes

This class is sealed. It cannot be derived from.

Fields
Field Description
AspectRatio The image is scaled maintaining the aspect ratio to the maximum possible that fits in the canvas. The image is then positioned as normal: using positioning or align properties.
None The image is cropped if the Canvas is smaller. The image size is not changed if the canvas is bigger. In this case the image is positioned as normal: using positioning or align properties.
Stretch The image is scaled to the exact size of the Canvas, even though it may be significantly distorted. The Canvas size must have been set manually when using this option.
Example

None.