Canvas_Printl

<< Click to Display Table of Contents >>

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

Canvas_Printl

 

Description

 

Output text to the selected canvas target. POS is moved to the left margin of the next line.

 

Syntax

 

n = Canvas_Printl( StringExpression )

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

StringExpression

String

No

Any string expression

 

Remarks

 

The text color and the text background color are set with Canvas_Color. Text which extends beyond the bounds of the canvas target is clipped.

Drawing begins at the last point referenced (POS) by another Canvas statement, or the point specified by Canvas_SetPos.  The upper left corner of the text is positioned at the POS.

Upon completion, the POS is moved to the left margin of the next line.

 

Restrictions

 

See also

 

Examples