PDFium Component Docs

TPdfView-komponent

Enhet: 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

Eksempel

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);

Bestemmer hvordan PDF-dokumentets sider vises

 

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

Automatisk sidetilpasningsmodus brukt av FitMode-egenskapen

 

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

type TPdfViewLinkOptions = set of TPdfViewLinkOption;

Valg for håndtering av lenkeklikk brukt av LinkOptions-egenskapen

 

For andre typer (TBookmark, TLinkAnnotation, TPdfAnnotation, TPdfImage, TRenderOption, TRotation, TSearchOption, TWebLink osv.) se TPdf

 

Egenskaper

Metoder

Hendelser