PDFium Component Docs

TextInRectangle-funksjon

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

Syntax

function TextInRectangle(Left, Top, Right, Bottom: Integer): WString; overload;

 

function TextInRectangle(Rectangle: TRect): WString; overload;

Description

Mirrors TPdf.TextInRectangle. TPdfView-komponenten videresender kallet til sin underliggende Pdf instans og oppdaterer visningen hvis kallet endrer dokumentet

All semantic notes from TPdf.TextInRectangle apply identically here; the only difference is that you address the operation through the visual control instead of the model object.

Når TPdfView er bundet til en ekstern TPdf (tilordning PdfView1.Pdf := Pdf1), returnerer lesing av dette medlemmet samme data som Pdf1.TextInRectangle; når TPdfView eier sin interne TPdf, er dette medlemmet den eneste offentlige tilgangsfunksjonen

Remarks

Example

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

See Also

TextInRectangle, Pdf