Core Function GUIPictureBox

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Functions)
(Load)
Line 29: Line 29:
 
<syntaxhighlight lang="sputnik">
 
<syntaxhighlight lang="sputnik">
 
GUIPictureBox($PB, "Load", "MyImage.jpg");
 
GUIPictureBox($PB, "Load", "MyImage.jpg");
 +
</syntaxhighlight>
 +
 +
Load an image into the PictureBox by copying the image of another PictureBox
 +
 +
<syntaxhighlight lang="sputnik">
 +
GUIPictureBox($PB, "Load", $OtherPB);
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 09:06, 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");

Load an image into the PictureBox by copying the image of another PictureBox

GUIPictureBox($PB, "Load", $OtherPB);

You can also load the image from a Binary Variable like

GUIPictureBox($PB, "Load", $binary);

Example

Go see GUICreate( "PictureBox" ) for example.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox