PictureBox.Contain (gb.qt4)

Const Contain As Integer = 3

The picture proportionality is maintained. The entire picture is displayed and stretched for best fit.

Example

PictureBox1.Mode = PictureBox.Contain

See also

Mode for a demonstration code