---
title: paragraphSpacingBefore
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/nsmutableparagraphstyle/paragraphspacingbefore
---

# paragraphSpacingBefore

The distance between the paragraph’s top and the beginning of its text content.

## Declaration

```swift
var paragraphSpacingBefore: CGFloat { get set }
```

## Discussion

Discussion This property contains the space (measured in points) between the paragraph’s top and the beginning of its text content. The default value of this property is 0.0.

## See Also

### Setting style information

- [setParagraphStyle(_:)](uikit/nsmutableparagraphstyle/setparagraphstyle(_:).md)
- [alignment](uikit/nsmutableparagraphstyle/alignment.md)
- [firstLineHeadIndent](uikit/nsmutableparagraphstyle/firstlineheadindent.md)
- [headIndent](uikit/nsmutableparagraphstyle/headindent.md)
- [tailIndent](uikit/nsmutableparagraphstyle/tailindent.md)
- [lineHeightMultiple](uikit/nsmutableparagraphstyle/lineheightmultiple.md)
- [maximumLineHeight](uikit/nsmutableparagraphstyle/maximumlineheight.md)
- [minimumLineHeight](uikit/nsmutableparagraphstyle/minimumlineheight.md)
- [lineSpacing](uikit/nsmutableparagraphstyle/linespacing.md)
- [paragraphSpacing](uikit/nsmutableparagraphstyle/paragraphspacing.md)
- [baseWritingDirection](uikit/nsmutableparagraphstyle/basewritingdirection.md)
