SharpLeaf Reference > ParagraphStyle Structure > HorizontalGap Property

ParagraphStyle.HorizontalGap Property

Horizontal space around text for inclusions, bullets and boxes (positive is absolute size in points, negative is multiple of line pitch).

Default (special value -32768) is to use the greater of the current font size and interline.

public double HorizontalGap {get; set;}

Example

style.HorizontalGap = ¯0.5; // half a line pitch around text

See also ...

Text Inclusions | SharpLeaf.SetBox Method | ParagraphStyle.Members | ParagraphStyle.SetBullet Method


Send comments on this topic
© Dyalog Ltd 2021