Table of Contents

Method SpacingBefore

Namespace
DocWright.Composition
Assembly
DocWright.Composition.dll

SpacingBefore(double, Unit)

Sets the space above the paragraph.

ITextBlock SpacingBefore(double value, Unit unit = Unit.Point)

Parameters

value double

The spacing.

unit Unit

The unit the spacing is expressed in.

Returns

ITextBlock

This block, for chaining.

Exceptions

ArgumentOutOfRangeException

The spacing is negative or not finite.