TRVBackgroundRect.BorderOffsets

<< Click to display table of contents >>

TRVBackgroundRect.BorderOffsets

Distance between the paragraph content and the border of the colored area.

property BorderOffsets: TRVRect;

Sides of this rectangle are measured in Units of TRVStyle component which owns the paragraph style.

Lager positive values increase padding. Negative values force border to be inside the paragraph content.

Warning:

Background.BorderOffsets.Top must not exceed SpaceBefore property of the same paragraph.

Background.BorderOffsets.Bottom must not exceed SpaceAfter property of the same paragraph.

Background.BorderOffsets.Left should not exceed LeftIndent property of the same paragraph.

Background.BorderOffsets.Right should not exceed RightIndent property of the same paragraph.

Default value:

0,0,0,0 (border is drawn around the paragraph without gaps)

See also:

Paragraph Background