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

Canvas_GetView

Previous pageReturn to chapter overviewNext page

 

Description

 

Gets the position of the viewport on a virtual canvas target.

 

Syntax

 

n = Canvas_GetView(XPos, YPos)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

XPos

Numeric variable

No


YPos

Numeric variable

No


 

Remarks

 

Restrictions

 

See also

 

Examples