TRVBackgroundProperties.VerticalSizeKind, ImageHeight

<< Click to display table of contents >>

TRVBackgroundProperties.VerticalSizeKind, ImageHeight

The properties specify the background image height.

property VerticalSizeKind: TRVBackgroundSize;
property ImageHeight: TRVDualLength;

ImageHeight is used only if VerticalSizeKind = rvbszValue. Negative values represent percentages. Positive values represent units defined in TRVStyle.Units (pixels, twips, EMU).

When the size is specified as a percentage, it refers to the percentage of the whole background area, not of the background image itself.

The following values of VerticalSizeKind are special: rvbszContain and rvbszCover. If you assign one of them to the VerticalSizeKind, it is automatically applied to HorizontalSizeKind as well; and vice versa.

Default value

rvbszAuto, -100000 (100%)