PDFium Delphi Component Docs

RectangleCount Función

Componente: TPdfView  ·  Unidad: PDFium
Envoltorio de TPdfView que reenvía a TPdf.RectangleCount

Syntax

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

Description

Refleja TPdf.RectangleCount. El componente TPdfView reenvía la llamada a su instancia Pdf subyacente y refresca la vista si la llamada muta el documento.

Todas las notas semánticas de TPdf.RectangleCount se aplican aquí de forma idéntica; la única diferencia es que dirige la operación a través del control visual en lugar del objeto modelo.

Cuando TPdfView está enlazado a un TPdf externo (asignando PdfView1.Pdf := Pdf1), leer este miembro devuelve los mismos datos que Pdf1.RectangleCount; cuando TPdfView es propietario de su TPdf interno, este miembro es el único accessor público.

Remarks

Example

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

See Also

RectangleCount, Pdf, Active