SharpLeaf Reference > ParagraphStyle Structure > SpaceBefore Property

ParagraphStyle.SpaceBefore Property

Leading paragraph space (positive is absolute size in points, negative is multiple of line pitch) (default is 0).

public double SpaceBefore {get; set;}


style.SpaceBefore = 36; // Half an inch before paragraph


SpaceBefore is not observed for paragraphs that start at top of frame, and between paragraphs of the same style when SpaceBetween is false.

See also ...

Paragraph Glossary | ParagraphStyle.Members | ParagraphStyle.SpaceAfter Property | ParagraphStyle.SpaceBetween Property

Send comments on this topic
© Dyalog Ltd 2021