ImageEn, unit iexUserInteractions

TIEPdfOptions


Declaration

  TIEPdfOptions = set of (iepoAutoButtons,
                          iepoAnnotations,
                          iepoOptimizeForLCD,
                          iepoNoNativeText,
                          iepoForceHalfTone,
                          iepoPrinting,
                          iepoNoSmoothing,
                          iepoPageLinks);

Description

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


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