Click or drag to resize
ResizeImageMode Enumeration
An enumeration of the different resize modes supported by the website graphics code.

Namespace: VirtualRadar.Interface.WebSite
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public enum ResizeImageMode
Members
  Member nameValueDescription
Normal0 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.
Centre1 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.
Stretch2 Image is stretched to exactly fill the width and height of the new image.
Zoom3 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