Specifies how an image is positioned within an image control.
[ResourceFinder(typeof(ResFinder))] public enum ImageViewMode
<ResourceFinder(GetType(ResFinder))> Public Enum ImageViewMode
The image is placed in the upper-left corner of the image control. The image is clipped if it's larger than the image control which contains it.
The image within the image control is stretched or shrunk, as appropriate, to fit the size of the image control.
The image is sized proportionally (without clipping), so that it best fits the image control. If the height and width ratio of the image control is the same as the image's ratio it will be resized to exactly fit into the image control. Otherwise, the closest fitting side (height or width) of the image will be sized to the control. The other side (height or width) of the image will be sized proportionally (leaving empty space).
Related API Members
The following properties accept/return ImageViewMode values: