TRVBackgroundProperties.HorizontalSizeKind, ImageWidth

<< Click to display table of contents >>

TRVBackgroundProperties.HorizontalSizeKind, ImageWidth

The properties specify the background image width.

property HorizontalSizeKind: TRVBackgroundSize;
property ImageWidth: TRVDualLength;

ImageWidth is used only if HorizontalSizeKind = 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 HorizontalSizeKind are special: rvbszContain and rvbszCover. If you assign one of them to the HorizontalSizeKind, it is automatically applied to VerticalSizeKind as well; and vice versa.

Default value

rvbszAuto, -100000 (100%)