-
Notifications
You must be signed in to change notification settings - Fork 4
Picture box
Samuel Gomes edited this page Feb 12, 2024
·
2 revisions
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 maintain a loaded image's aspect ratio if resized by the corner handles.
You can draw directly onto a PictureBox's surface using QB64's drawing commands:
BeginDraw PictureBox1
'Drawing code here
EndDraw PictureBox1