ImageEn, unit iexColorPalette

TIEColorPalette.VertMargin

TIEColorPalette.VertMargin


Declaration

property VertMargin: integer;


Description

Specify the amount of blank space at the top and bottom of the component. If -1 is specified then the color selection is vertically centered in the control.

Default: 3


Example

// Add a 10 pixel margin at the top and bottom
IEColorPalette1.VertMargin := 10;

// Display no margin in the control
IEColorPalette1.HorzMargin := 0;
IEColorPalette1.VertMargin := 0;

// Vertically center the colors
IEColorPalette1.VertMargin := -1;


See Also

HorzMargin