rvico TRichView Reference | TRVStyle | TRVBorder

TRVBorder.BorderOffsets

Top  Previous  Next

Spacing between paragraph content and border.

property BorderOffsets: TRVRect;

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

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

Warning:

Border.BorderOffsets.Top must not exceed SpaceBefore property of the same paragraph.
Border.BorderOffsets.Bottom must not exceed SpaceAfter property of the same paragraph.
Border.BorderOffsets.Left should not exceed LeftIndent property of the same paragraph.
Border.BorderOffsets.Right should not exceed RightIndent property of the same paragraph.

Default value:

0,0,0,0

See also:

Paragraph Borders.


RichView © Sergey Tkachenko