property CharacterOrigin[CharIndex: Integer]: TPdfPoint; // read only
Acesso indexado somente leitura a the origin (baseline-left anchor) of the character in PDF user-space points. O intervalo válido é 0 .. CharacterCount - 1 para a página atual; passar um índice fora do intervalo lança EPdfError.
Characters are returned in their logical reading order — the order in which PDFium parsed the content stream — not necessarily in visual order (right-to-left scripts may appear reversed).
Todas as coordenadas estão em pontos do espaço do usuário do PDF, com a origem no canto inferior esquerdo. Use PdfView1.PointsToScreen or your own coordinate transform when overlaying on a VCL canvas.
| CharIndex | Zero-based character index in the current page (0 .. CharacterCount - 1). |
CharacterCount resets to 0 when Active is False or no page is open.CharacterGenerated).
var
I: Integer;
begin
for I := 0 to Pdf1.CharacterCount - 1 do
P := Pdf1.CharacterOrigin[I]; // origin of glyph I, in points
end;