rvico TRichView Reference | TRVStyle | TRVBorder

TRVBorder.BorderOffsets

Top  Previous  Next

Spacing between paragraph content and border.

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 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.


TRichView © trichview.com