rvico TRichView Reference | TRVStyle | TRVBackgroundRect

TRVBackgroundRect.BorderOffsets

Top  Previous  Next

Distance between paragraph content and border.

property BorderOffsets: TRVRect;

Offsets are measured in "screen" pixels, so when printing they are recalculated according to printer resolution, so offsets on page look like offsets on screen.

Lager positive values increase hanging. 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


RichView © Sergey Tkachenko