Sets or returns an int representing the amount of whitespace that should be placed above a paragraph in twips. One twip = (1/20 pt) or (1/1440 in)

<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
 public int SpaceBefore{ get; set; }
</pre></td></tr></table>
<p>Public Property SpaceBefore() As Integer</p>

This must be between 0 pt (0 twips) and 1584 pt (31680 twips). Values beyond these will be automatically adjusted.

MS Word equivalent: Format menu > Paragraph... > Indents and Spacing > Spacing section > Before:


          //--- Return SpaceBefore
          int spaceBefore = oParagraphFormatting.SpaceBefore;

          //--- Set SpaceBefore to 12 pt
          oParagraphFormatting.SpaceBefore = 240;
        

          '--- Return SpaceBefore
          Dim spaceBefore As Integer = oParagraphFormatting.SpaceBefore

          '--- Set SpaceBefore to 12 pt
          oParagraphFormatting.SpaceBefore = 240