ImageEn, unit iexColorPalette

TIEColorPalette.HorzMargin

TIEColorPalette.HorzMargin


Declaration

property HorzMargin: integer;


Description

Specify the amount of blank space on the left and right side of the component. If -1 is specified then the color selection is centered in the control.

Default: 3


Example

// Add a 10 pixel margin on the left and right
IEColorPalette1.HorzMargin := 10;

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

// Horizontally center the colors
IEColorPalette1.HorzMargin := -1;


See Also

VertMargin