ImageEn, unit iesettings

TIEGlobalSettings.PdfViewingToolbar

TIEGlobalSettings.PdfViewingToolbar


Declaration

property PdfViewingToolbar: TImageEnViewToolbarParams;


Description

Specifies properties of the Adobe PDF Viewing toolbar.
The default buttons for this toolbar allow you to perform PDF viewing related functions, such as seeking, zooming and printing. All editing functions are excluded.

The PDF Viewing toolbar appears over a TImageEnView if:
AutoToolbars includes ievViewing
AutoToolbars does NOT include ievPdfEditing
PdfViewer is enabled

These properties are also used as the default for the TImageEnViewToolbar if ButtonMode is ievPdfViewing.




Demo

Demo  Demos\PDF\PDFViewerToolbar\PdfViewerToolbar.dpr


Examples

// Show only zoom, seek and print buttons
IEGlobalSettings().PdfViewingToolbar.Buttons := [ ivbImageSeek, ivbImagePrint, ivbImageZoom ];
ImageEnView1.AutoToolbars := [ ievPdfViewing ];

// Show hover toolbar above control
IEGlobalSettings().PdfViewingToolbar.Position := iepAbove;


See Also

AutoToolbars
PdfEditingToolbar
ImageEditingToolbar
ImageSelectionToolbar
RichEditorToolbar
LayerEditingToolbar
LayerSelectionToolbar
ToolbarsAllowExtraControls