Core Function GUIPictureBox

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Load)
m (1 revision)
 
(2 intermediate revisions by one user not shown)
Line 35: Line 35:
 
<syntaxhighlight lang="sputnik">
 
<syntaxhighlight lang="sputnik">
 
GUIPictureBox($PB, "Load", $OtherPB);
 
GUIPictureBox($PB, "Load", $OtherPB);
 +
</syntaxhighlight>
 +
 +
Load an image into the PictureBox that came from a DotNet % operator
 +
 +
<syntaxhighlight lang="sputnik">
 +
GUIPictureBox($PB, "Load", $PBNet);
 +
</syntaxhighlight>
 +
 +
Load an image into the PictureBox that came from any .NET Image object
 +
 +
<syntaxhighlight lang="sputnik">
 +
GUIPictureBox($PB, "Load", $Image);
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Latest revision as of 12:37, 14 June 2015

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);

Load an image into the PictureBox that came from a DotNet % operator

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

Load an image into the PictureBox that came from any .NET Image object

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

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