Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Picture box

Samuel Gomes edited this page Nov 25, 2022 · 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 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

Properties editable at runtime

Clone this wiki locally