Enum PictureBoxMode (gb.qt4)

Enum PictureBoxMode Is Contain, Cover, Fill, Normal, Repeat

The different ways of displaying the picture inside the control limits.

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

Cover   The picture proportionality is maintained. The entire PictureBox height and width is filled.

Fill   The picture is stretched to fit both the width and height of the PictureBox. Proportionality of the picture is not maintained.

Normal   The picture is displayed at its original size. No attempt is made to fit the picture to the size of the PictureBox.

Repeat   The picture is displayed at its original size and repeated. The entire PictureBox height and width is filled.