Sign in Join
FPDoc Onlineexperiment

TPostScriptPrinterCanvas.TextOut procedure

Member of TPostScriptPrinterCanvaspublicIn unit PostScriptCanvas

Declaration

pascal
procedure TextOut(X: Integer; Y: Integer; const Text: string); override

Description

Not described here; this is what TCanvas.TextOut says of it:

Writes text at the specified position on the canvas.

Writes the value in Text at the given X, Y coordinates on the canvas.

Calls Changing to signal the OnChanging event handler (when assigned). Calls RequiredState to ensure that handles for the canvas, Font, and Brush are valid.

Properties in TextStyle are converted and combined into the numeric flag used to format the Text, including Opaque and RightToLeft. Uses ExtUTF8Out to write to the device context using the position and style flags needed.

The Pen is positioned at the end of the Text when the output operation is completed. The vertical canvas coordinate is not altered in the method. In other words, TextOut does not handle multi-line text or word wrapping of the value in Text.

TextOut calls Changed to signal the OnChange event handler (when assigned).

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.