وثائق PDFiumVCL

SelectAll procedure

يحافظ إدخال API هذا على المعرّفات والتواقيع وكتل الكود ومصطلحات PDF بصيغتها الأصلية.
Component: TPdfView  ·  Unit: PDFium
Selects every character on the page(s) currently displayed by the viewer.

Syntax

procedure SelectAll;

Description

Builds a selection spanning every character of the current page. In spread display modes (dmTwoPageContinuous, dmTwoPageContinuousWithCover) and when the right-page index is in range, extends the selection across both visible pages so the user gets the full content of the visible spread — including a CR/LF joiner between the per-page slices when round-tripped through SelectedText.

Degrades to a single-page selection on the last odd page of a spread display, or when the right-page text is empty.

Remarks

Example

PdfView1.SelectAll;
PdfView1.CopySelectionToClipboard;

See Also

ClearSelection, HasSelection, SelectionCharCount, CopySelectionToClipboard