Navigation:  ThinBASIC Modules > UI (User Interface) > Additional Controls and Functions > Canvas Control >

Canvas_GetSize

Previous pageReturn to chapter overviewNext page

 

Description

 

Retrieves the overall size of the selected canvas.

 

Syntax

 

Canvas_GetSize(WidthVar, HeightVar)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

WidthVar

Numeric variable

No

Numeric scalar variable that will receive Width value

HeightVar

Numeric variable

No

Numeric scalar variable that will receive Height value

 

Remarks

 

Restrictions

 

See also

 

Examples