ImageEn, unit iesettings

TIEGlobalSettings.ImageViewingToolbar

TIEGlobalSettings.ImageViewingToolbar


Declaration

property ImageViewingToolbar: TImageEnViewToolbarParams;


Description

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

The Image Viewing toolbar appears over a TImageEnView if:
AutoToolbars includes ievViewing
AutoToolbars does NOT include ievEditing or ievLayerEditing
The image is not selected
A layer is not selected

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




Demo

Demo  Demos\Other\ImageEnViewToolbar\IEToolbar.dpr


Examples

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

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


See Also

AutoToolbars
ImageEditingToolbar
ImageSelectionToolbar
PdfEditingToolbar
PdfViewingToolbar
RichEditorToolbar
LayerEditingToolbar
LayerSelectionToolbar
ToolbarsAllowExtraControls