ImageEn, unit ieview

TIEView.OuterMargin

TIEView.OuterMargin


Declaration

property OuterMargin: Integer;


Description

Specifies an area around the outside of the content that is not drawn (e.g. at the edges of the control, when it is unscrolled).

For TImageEnView: It will avoid drawing the image in this area, i.e. if Fit is used, the OuterMargin-sized area around the edge of the control will be blank (show the Background).
For TImageEnMView: Thumbnails will not be drawn in this area, i.e. the top-left of the first thumbnail will be at OuterMargin,OuterMargin (when unscrolled). If 0 is specified, the HorizBorder and VertBorder are used for the margins.

Default: 0


Example

// Specify an empty area around the image
ImageEnView1.OuterMargin := 10;
ImageEnView1.Fit();

// Specify a very narrow margin between thumbnails and the control edges
ImageEnMView1.OuterMargin := 1;


For TImageEnView, See Also

ViewX
ViewY


For TImageEnMView, See Also

BottomGap
HorizBorder
LeftGap
RightGap
UpperGap
VertBorder