Canvas_BitmapGet

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > Canvas Control > Canvas Control Commands >

Canvas_BitmapGet

 

Description

 

Retrieve raw pixel data from canvas, as well as its width and height.

 

Syntax

 

pixelBuffer = Canvas_BitmapGet(width, height)

 

Returns

 

String.

String of raw pixelBuffer data.

 

Parameters

 

Name

Type

Optional

Meaning

Width

Variable

No

Long integer variable passed by reference to obtain bitmap width

Height

Variable

No

Long integer variable passed by reference to obtain bitmap height

 

Remarks

 

Restrictions

 

See also

 

Canvas_BitmapSet

 

Examples