ImageEn, unit iexToolbars |
|
TImageEnViewToolbarParams
Declaration
TImageEnViewToolbarParams = class(TIECustomToolbarParams);
Description
Properties to customize the toolbars of ImageEn, such as when editing layers in TImageEnView.
// When the image is selected, show clipboard buttons beneath the selection
IEGlobalSettings().ImageSelectionToolbar.Buttons := [ ivbImageClipboard ];
IEGlobalSettings().ImageSelectionToolbar.Position := iepBelowSelection;
ImageEnView1.AutoToolbars := [ ievSelection ];
// When a layer is selected, show style controls beneath
IEGlobalSettings().LayerSelectionToolbar.Buttons := [ ivbImageClipboard ];
IEGlobalSettings().LayerSelectionToolbar.Position := iepBelowSelection;
ImageEnView1.AutoToolbars := [ ivbLayersStyle, ivbLayersProps ];
// Show only zoom, seek and print buttons
IEGlobalSettings().ImageViewingToolbar.Buttons := [ ivbImageSeek, ivbImagePrint, ivbImageZoom ];
ImageEnView1.AutoToolbars := [ ievViewing ];
// Show editing buttons, but without open and save buttons
IEGlobalSettings().ImageEditingToolbar.Buttons := IEGlobalSettings().ImageEditingToolbar.Buttons - [ ivbImageOpen, ivbImageSave ];
ImageEnView1.AutoToolbars := [ ievEditing ];
// Show hover toolbar above control
IEGlobalSettings().LayerSelectionToolbar.Position := iepAbove;
// Make toolbar buttons green
IEGlobalSettings().ImageViewingToolbar.ImageHue := -100;
See Also
◼OnAddToolbarButtonImage◼ImageEditingToolbar◼ImageSelectionToolbar◼ImageViewingToolbar◼LayerEditingToolbar◼LayerSelectionToolbar◼PdfEditingToolbar◼PdfViewingToolbar