ImageEn, unit iesettings

TIEGlobalSettings.LayerSelectionPopupMenu

TIEGlobalSettings.LayerSelectionPopupMenu


Declaration

property LayerSelectionPopupMenu: TImageEnViewButtons;


Description

Specifies properties of the Layer Selection popup menu (when right-clicking a layer).
The default items for this popup menu allow you to edit a selected layer, such as style, properties and rotation.



The Layer Selection popup menu appears over a TImageEnView if:
PopupMenus includes ievLayerSelection
A selection has not been clicked on
A layer has been clicked on

Note:
For more in-depth customization of popup menu items, use the OnAddPopupMenuItem event
To remove or change the hue to popup menu item glyphs, use PopupMenuImageHue
To use the popup menu in a DLL, you must enable EnableDLLMode


Example

// When a layer is clicked show style items
IEGlobalSettings().LayerSelectionPopupMenu := [ ivbLayersStyle, ivbLayersProps ];
ImageEnView1.PopupMenus := [ ievLayerSelection ];


See Also

PopupMenus
ImageEditingPopupMenu
ImageSelectionPopupMenu
ImageViewingPopupMenu
LayerEditingPopupMenu
PdfEditingPopupMenu
PdfViewingPopupMenu
PopupMenuImageHue
OnAddPopupMenuItem