1
1
Fork 0
mirror of https://github.com/FellippeHeitor/InForm.git synced 2024-05-12 06:50:12 +00:00
11 Picture box
Fellippe Heitor edited this page 2021-12-22 12:12:15 -03:00

A PictureBox control can be used to display a static image file on a form. Alternatively, you can use a PictureBox control as a drawing surface.

A PictureBox control will mantain a loaded image's aspect ratio if resized by the corner handles.

Using PictureBox as a drawing surface

You can draw directly onto a PictureBox's surface using QB64's drawing commands:

BeginDraw PictureBox1
'Drawing code here
EndDraw PictureBox1

Events

Methods

Properties editable at runtime