bgiSetPictureBoxImage

Category: BGI GUI

Syntax:

bgiSetPictureBoxImage:Int(pictureBoxID:Int, imagePath:String, resize:Int)


Parameters

Returns

Int



Summary

Shows an image in a picture box.

Takes pictureBoxID (Int), imagePath (String) and resize (Int). PNG, JPEG, GIF, BMP and TIFF load. With resize set, the box takes the image's size, keeping its position.

Returns 1 on success, 0 if the box or the image cannot be found.

In this edition transparent parts of an image stay transparent; Windows shows them white.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn