Enum ImageUtilities.ScaleStrategy
Namespace: SuperOffice.Util
Assembly: SoCore.dll
Syntax
public enum ImageUtilities.ScaleStrategy
Fields
Name | Description |
---|---|
NoScaling | Dont perform any scaling at all. |
ScaleToLargest | Scale the image so the entire area of the requested bounds are filled. Exceeding areas are clipped |
ScaleToSmallest | The image is scaled so the entire image fits within the requested bounds. |
Stretch | The image is scaled to fit and aspect ratio is not maintained. |
Trim | Use the original size of the image, areas outside of the requested bounds are clipped. Areas inside the requested bounds are filled. |