THotPDF.InsertLoadedText

THotPDF

 

Top  Previous  Next

Inserts text at specified coordinates on a loaded page

 

Delphi syntax:

procedure InsertLoadedText( PageIndex: Integer; const Text: WideString; X, Y: Single; const FontName: AnsiString; FontSize: Single; Color: TColor );

 

Description

This method uses the same standard-font WinAnsi (Windows-1252) text path as StampLoadedPageText, including representable characters such as café, €, Œ and — without a host ANSI code-page conversion

Characters outside that encoding use a ? placeholder for each Unicode scalar, so a valid surrogate pair produces one placeholder; this standard-font path does not embed a Unicode font or perform complex shaping

Generated stamp fonts declare /WinAnsiEncoding; an existing font resource with incompatible encoding or additional definitions is preserved and a separate compatible resource is selected instead of reusing its name

Inserts text at specified coordinates on a loaded page

Draws standard text directly into the page content stream

 

See also: THotPDF