Core Function GUIPictureBox
From Sputnik Wiki
				
				
				(Difference between revisions)
				
																
				
				
								
				 (Created page with "<pre> GUIPictureBox( <picturebox> ) </pre>  === Description ===  Properties & Functions specifically for PictureBox  === Parameters ===  ==== picturebox ====  The PictureBox GUI ...")  | 
		 (→Functions)  | 
		||
| Line 14: | Line 14: | ||
=== Functions ===  | === Functions ===  | ||
| + | |||
| + | ==== Clear ====  | ||
| + | |||
| + | From any image from the PictureBox  | ||
| + | |||
| + | <syntaxhighlight lang="sputnik">  | ||
| + | GUIPictureBox($PB, "Clear");  | ||
| + | </syntaxhighlight>  | ||
==== Load ====  | ==== Load ====  | ||
Revision as of 08:48, 13 October 2013
GUIPictureBox( <picturebox> )
Contents | 
Description
Properties & Functions specifically for PictureBox
Parameters
picturebox
The PictureBox GUI object to use.
Functions
Clear
From any image from the PictureBox
GUIPictureBox($PB, "Clear");
Load
Load an image into the PictureBox
GUIPictureBox($PB, "Load", "MyImage.jpg");
You can also load the image from a Binary Variable like
GUIPictureBox($PB, "Load", $binary);
Example
Go see GUICreate( "PictureBox" ) for example.