PDFium Component Docs

PaintSelection метод

Компонент: TPdfView  ·  Модуль: PDFium
TPdfView wrapper that forwards to TPdfView.PaintSelection.

Syntax

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

Description

Mirrors TPdfView.PaintSelection. The TPdfView component forwards the call to its underlying Pdf instance and refreshes the view if the call mutates the document.

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

Коли 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