|
|
|
|
| How to fit an image into a Canvas. |
|
|
|
|
|
|
|
|
|
|
System.Object
System.ValueType
System.Enum
WebSupergoo.ImageGlue7.DrawOptions.ImageFitType
|
|
|
|
|
|
|
|
|
|
System.IComparable
System.IFormattable
System.IConvertible
|
|
|
|
|
|
|
|
|
|
This class is sealed. It cannot be derived from.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
None.
|