TextOut(X, Y, Text, transparent=True/False)

Writes text on an image.

Optionally, you can make the text transparent. By default, the text creates a blank rectangle where it is placed. It's written in co-ordinates specified in (X,Y) and is written in the current font color and size.

Parameters
  • X, Y. Specify coordinates for writing text. These parameters accept integer values.
  • Text. Specifies the text to write. Accepts a WideString value.
  • Transparent. Specifies whether the text is transparent. This parameter accepts one of the following values:
    • true. Makes the text transparent.
    • false. Makes the text non-transparent.
Examples
Copy
Graphic.TextOut(10,10,'My text',true);