TRVBackgroundProperties.VerticalOffset, VerticalOffsetKind

<< Click to display table of contents >>

TRVBackgroundProperties.VerticalOffset, VerticalOffsetKind

Vertical offset of the background image relative to the position defined by VerticalAlignment.

property HorizontalOffsetKind: TRVDualSignedLengthKind;
property HorizontalOffset: TRVDualSignedLength;

These properties are ignored if VerticalAlignment = rvbrpSpace.

The offset direction depends on VerticalAlignment:

top: positive values shift the image down, negative values shift it up.

bottom: positive values shift the image up, negative values shift it down.

center: offset is not applied, these properties are ignored.

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

Default value

rvdslkAbsolute, 0