|
THPDFPage.TextOut
|
Вверх Назад Далее |
|
Prints text using the currently selected font.
Delphi syntax: procedure TextOut ( X, Y: Single; Angle: Extended; Text: WideString); overload; procedure TextOut ( X, Y: Single; Angle: Extended; Text: PWORD; TextLength: Integer); overload;
C++ syntax: void __fastcall TextOut ( float X, float Y, Extended Angle, WideString Text); void __fastcall TextOut ( float X, float Y, Extended Angle, WORD *Text, int TextLength);
Description: This procedure prints a text line Text from point X, Y using orientation Angle in degrees. The PWORD overload prints TextLength UTF-16 code units starting at Text
Для embedded Unicode-capable fonts текущая реализация перед записью PDF text operators разрешает glyph IDs и widths из active font. Это повышает consistency при просмотре одного документа в разных PDF readers
Если проверяете фактический font output, сначала вызовите SetFont для target face и используйте THotPDF.FontEmbedding = true вместе с THotPDF.StandardFontEmulation = false
Code Example
См. также: SetFont, UnicodeTextOut.
|