Leadtools.Web.Controls Namespace : ImageViewerSizeMode Enumeration |
public enum ImageViewerSizeMode : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration Public Enum ImageViewerSizeMode Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As ImageViewerSizeMode
public enum class ImageViewerSizeMode : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Value | Member | Description |
---|---|---|
0x00000000 | Normal | Width is the image width. Height is the image height. |
0x00000001 | Stretch | Width is the control's client area width. Height is the client area height. The aspect ratio of the image is not preserved. |
0x00000002 | FitAlways | The largest possible width or height is set to the control's client area width or height. The remaining dimension is set proportionally to maintain the aspect ratio of the image. |
0x00000003 | FitWidth | Width is the control's client area width. Height is set proportionally to maintain the aspect ratio of the image. If necessary, the control will implement a vertical scroll bar. |
0x00000004 | Fit | Same as FitAlways if the image width or height is greater than the viewing area; otherwise, same as Normal. The aspect ratio of the image is maintained. |
System.Object
System.ValueType
System.Enum
Leadtools.Web.Controls.ImageViewerSizeMode