ResizeImageMode Enumeration |
An enumeration of the different resize modes supported by the website graphics code.
Namespace: VirtualRadar.Interface.WebSiteAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public enum ResizeImageMode
Public Enumeration ResizeImageMode
public enum class ResizeImageMode
Members
| Member name | Value | Description |
---|
| Normal | 0 |
Image is drawn at top-left and is just large enough to fill the new space in both axis. One axis
may end up being clipped.
|
| Centre | 1 |
As per Normal but if an axis is clipped then the top or left is offset so that the centre is
still in the middle of the new stockImage.
|
| Stretch | 2 |
Image is stretched to exactly fill the width and height of the new image.
|
| Zoom | 3 |
Image is centred within new image, keeping the same aspect ratio as the original. One axis will be
the same as the new image, the other may be smaller. Unused space is filled with a brush.
|
See Also