THPDFPage.RtLTextOut Method

 

THPDFPage.RtLTextOut

THPDFPage

 

Överst  Föregående  Nästa

Prints Right-to-Left (RTL) text with proper bidirectional text processing.

 

Delphi syntax:

procedure RtLTextOut ( X, Y: Single; Angle: Extended; Text: PWORD);

procedure RtLTextOut ( X, Y: Single; Angle: Extended; Text: WideString);

 

C++ syntax:

void __fastcall RtLTextOut ( float X, float Y, Extended Angle, PWORD Text);

void __fastcall RtLTextOut ( float X, float Y, Extended Angle, WideString Text);

 

Description:

This procedure prints Right-to-Left (RTL) text with proper bidirectional text processing. It supports languages such as Arabic and Hebrew by applying segment-based processing: RTL segments maintain their original order while LTR segments are reversed internally for correct display. The PDF document's reading direction is automatically set to RightToLeft.