Values that specify how the image is displayed.
Members
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. |
The WebImageViewer.SizeMode property controls how the image is displayed.
Products |
Support |
Feedback: ImageViewerSizeMode Enumeration - Leadtools.Web |
Introduction |
Help Version 19.0.2017.3.22
|