Docs PDFiumVCL

TPdfView component

Unit: PDFium
TPdfView
Use TPdfView component to view PDF pages. TPdfView inherits from TScrollingWinControl and provides scrolling, zooming, page navigation, fit-zoom calculations, device/page coordinate conversion, text hit testing, and mouse drag scrolling.

Example

PdfView.Pdf := Pdf1; // attach document component
PdfView.FitMode := pfmFitWidth; // fit page to control width
PdfView.PageNumber := 1; // display first page

Types

type TPdfDisplayMode = (dmSingleContinuous, dmTwoPageContinuous, dmTwoPageContinuousWithCover);

Determines how the PDF document pages are displayed.

 

type TPdfFitMode = (pfmNone, pfmActualSize, pfmFitPage, pfmFitWidth);

Automatic page-fit mode used by the FitMode property.

 

type TPdfViewLinkOption = (loAutoGoto, loAutoOpenURI, loAutoLaunch, loAutoEmbeddedGoto);

type TPdfViewLinkOptions = set of TPdfViewLinkOption;

Link click handling options used by the LinkOptions property.

 

For other types (TBookmark, TLinkAnnotation, TPdfAnnotation, TPdfImage, TRenderOption, TRotation, TSearchOption, TWebLink, etc.), see TPdf.

 

Properties

Methods

Events