ImageEn, unit iemview

TIEMButtonParams


Declaration

TIEMButtonParams = class(TPersistent);


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;


Properties

Public Property  HorzMargin
Public Property  ImageHue
Public Property  Position
Public Property  Size
Public Property  Spacing
Public Property  VertMargin
Public Property  VertAlignment