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

Canvas_SetView

Previous pageReturn to chapter overviewNext page

 

Description

 

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

 

Syntax

 

n = Canvas_SetView(XPos, YPos)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

XPos

Number

No


YPos

Number

No


 

Remarks

 

Restrictions

 

See also

 

Examples