PDFium Component Docs

RectangleCount function

Component: TPdfView  ·  Unit: PDFium
מעטפת TPdfView שמעבירה אל TPdf.RectangleCount.

Syntax

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

Description

משקף את TPdf.RectangleCount. רכיב TPdfView מעביר את הקריאה למופע Pdf הבסיסי ומרענן את התצוגה אם הקריאה משנה את המסמך.

כל ההערות הסמנטיות מ-TPdf.RectangleCount חלות כאן באופן זהה; ההבדל היחיד הוא שאתה מטפל בפעולה דרך הפקד החזותי במקום אובייקט המודל.

כאשר TPdfView מקושר ל-TPdf חיצוני (הקצאה של PdfView1.Pdf := Pdf1), קריאה של איבר זה מחזירה את אותם נתונים כמו Pdf1.RectangleCount; כאשר TPdfView מחזיק TPdf פנימי משלו, איבר זה הוא המאגר הציבורי היחיד.

Remarks

Example

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

See Also

RectangleCount, Pdf, Active