ImageEn, unit iexUserInteractions

TIEPdfViewer.Options

TIEPdfViewer.Options


Declaration

property Options: TIEPdfOptions;


Description

Options to customize the behavior of the PDF Viewer.

Value Description
iepoAutoButtons Automatically show buttons on left and right of control to allow the user to navigate pages
iepoAnnotations Draw annotations
iepoOptimizeForLCD Optimize rendering for LCD displays
iepoNoNativeText Don't use native text available on the platform
iepoForceHalfTone Always use halftone for image stretching
iepoPrinting Render for printing
iepoNoSmoothing Disable anti-aliasing for text, images and paths
iepoPageLinks Internal page links can be clicked to change pages


ImageEnView Buttons



Default: [iepoAutoButtons, iepoAnnotations, iepoOptimizeForLCD, iepoPageLinks] (Specified by PdfViewerDefaults)


Demos

Demo  Demos\PDF\PDFViewer\PdfViewer.dpr
Demo  Demos\Actions\Actions_PdfViewer\PdfViewerActions.dpr


Examples

// Disable the display of annotations
ImageEnView1.PdfViewer.Options := ImageEnView1.PdfViewer.Options - [iepoAnnotations];

// Disable hover buttons for navigating PDFs
ImageEnView1.PdfViewer.Options := ImageEnView1.PdfViewer.Options - [iepoAutoButtons];

// Customize the hover buttons for navigating PDFs
ImageEnView1.ButtonParams.Color := clSilver;
ImageEnView1.ButtonParams.Size  := 30;
ImageEnView1.PdfViewer.Options := ImageEnView1.PdfViewer.Options + [iepoAutoButtons]; // This is the default anyway


See Also

ShowButtons