PictureBoxZoomPolicy improves the zoom result when the PictureBox.SizeMode property isn’t set to Zoom and the ZoomFactor property is bigger than 1f.
Initial ZoomFactor is 100%, as shown below:
Note: PictureBox’s BackColor is AliceBlue.
To see how the built-in PictureBoxZoomPolicy works, complete the following:
The following table illustrates the difference between enabling and disabling the PictureBoxZoomPolicy. Note that the ZoomFactor is set to 120% by default.
Without ZoomPolicy |
With ZoomPolicy |
---|---|
|