TRVBackgroundProperties.HorizontalOffset, HorizontalOffsetKind

<< Click to display table of contents >>

TRVBackgroundProperties.HorizontalOffset, HorizontalOffsetKind

Horizontal offset of the background image relative to the position defined by HorizontalAlignment.

property HorizontalOffsetKind: TRVDualSignedLengthKind;
property HorizontalOffset: TRVDualSignedLength;

These properties are ignored if HorizontalRepeat = rvbrpSpace.

The offset direction depends on HorizontalAlignment:

left: positive values shift the image to the right, negative values shift it to the left.

right: positive values shift the image to the left, negative values shift it to the right.

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