PDFium Delphi Component Docs

RectangleCount Funzione

Componente: TPdfView  ·  Unità: PDFium
Wrapper di TPdfView che inoltra a TPdf.RectangleCount

Sintassi

function RectangleCount(StartIndex: Integer = 0; Count: Integer = MaxInt): Integer;

Descrizione

Rispecchia TPdf.RectangleCount. Il componente TPdfView inoltra la chiamata alla sua istanza Pdf sottostante e aggiorna la view se la chiamata modifica il documento

Tutte le note semantiche di TPdf.RectangleCount si applicano identicamente qui; l'unica differenza è che indirizzi l'operazione tramite il controllo visivo anziché tramite l'oggetto modello

Quando TPdfView è associato a un TPdf esterno (assegnando PdfView1.Pdf := Pdf1), la lettura di questo membro restituisce gli stessi dati di Pdf1.RectangleCount senza dover passare dal componente modello

Osservazioni

Esempio

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

Vedi anche

RectangleCount, Pdf, Active