Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > Canvas Control >

Canvas_BitmapGet

Previous pageReturn to chapter overviewNext page

 

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