Outputs a flow text at the defined position. The specified position defines the left edge of the first character on the baseline. This function allows for position-accurate text output, but it is easier to use the Cell() function.
Syntax
C++
METHOD PUBLIC Text : BOOL
VAR_INPUT
x : REAL;
y : REAL;
txt : STRING;
END_VAR
Parameters
|
Parameter |
Description |
|---|---|
|
x |
Starting point on the X axis. |
|
y |
Starting point on the Y axis. |
|
txt |
Character string to be output as text. |
|
Return value |
Status of the call. |
Example
Requirements
Remarks