ImageEn, unit iexUserInteractions

TIEPdfViewerInteraction.Options

TIEPdfViewerInteraction.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


ImageEnView Buttons



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


Demos

Demo  Demos\Other\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