Provides several named constants for Zoom property.
For a list of all members of this type, see Zoom Members.
System.Object
Resco.Controls.ImageBox.Zoom
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Zoom property normally takes values greater than 0. However these constants are also accepted by Zoom property:
| Name of the constant | Value of the constant | Meaning of the constant |
| Fit | -1.0 | The zoom level will automatically be computed so that the image entirely fits into the client are of ImageBox control. If the image fits into the client area anyway, it will not be zoomed. |
| Fill | -2.0 | The zoom level will automatically be computed so that the image fills the entire client are of the ImageBox control, if the image is larger than the client area. |
| FitAlways | -3.0 | The zoom level will automatically be computed so that the image entirely fits into the client are of ImageBox control. |
| FillAlways | -4.0 | The zoom level will automatically be computed so that the image fills the entire client are of the ImageBox control. |
Namespace: Resco.Controls.ImageBox
Assembly: Resco.ImageBox.CF3 (in Resco.ImageBox.CF3.dll)
Zoom Members | Resco.Controls.ImageBox Namespace