PDFium Component Docs

מתודת PaintSelection

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

Syntax

procedure PaintSelection(SelectionStart, SelectionEnd: Integer; Mask: TColor);

Description

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

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

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

Remarks

Example

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

See Also

PaintSelection, Pdf