ImageEn, unit iexLayerMView

TImageEnLayerMView.ButtonParams

TImageEnLayerMView.ButtonParams


Declaration

property ButtonParams: TIEMButtonParams;


Description

Properties to customize the appearance of TImageEnLayerMView buttons.
Buttons can be enabled by specifying them for LayerOptions.

Note: You can also customize the buttons using the OnAddToolbarButtonImage event


Examples

// Show only a visibility button at the top-right of thumbnail
IELayerMView1.LayerOptions := IELayerMView1.LayerOptions + [ lvVisibilityButton ] - [ lvLockButton, lvMaskButton ];
ImageEnLayerMView1.ButtonParams.Position := iecpTopRight;

// Align buttons vertically
ImageEnLayerMView1.ButtonParams.VertAlignment := True;

// Show larger buttons
ImageEnLayerMView1.ButtonParams.Size := iebsMedium;

// Make buttons orange
IELayerMView1.ButtonParams.ImageHue := -175;