PDFium Delphi Component Docs

Text function

Component: TPdfView  ·  Unit: PDFium
TPdfView wrapper that forwards to TPdf.Text

Syntax

function Text(StartIndex: Integer = 0; Count: Integer = MaxInt): WString;

Description

Mirrors TPdf.Text. The TPdfView component forwards the call to its underlying Pdf instance and updates the view if the call alters the document

All semantic notes from TPdf.Text apply here as well; the only difference is that you address the operation through the visual control rather than the model object

When TPdfView is bound to an external TPdf (assigning PdfView1.Pdf := Pdf1), reading this member returns the same data as Pdf1.Text without addressing the model component separately

Remarks

Example

if PdfView1.Active then
  Memo1.Lines.Add('Text = ' + PdfView1.Text);

See Also

Text, Pdf