rvico TRichView Reference | TRVStyle | TRVBackgroundRect


Top  Previous  Next

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

property BorderOffsets: TRVRect;

Sides of this rectangle are measured either in screen pixels (when printing, it is recalculated according to the printer resolution) or in twips, depending on Units of TRVStyle component which owns the paragraph style.

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


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

TRichView © trichview.com