Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

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

...

)

...

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public int SpaceBefore{ get; set; }
{signature}{signature:</pre></td></tr></tbody></table>
} Public
Signature
vb.net
vb.net

<p>Public Property SpaceBefore() As Integer
{signature}
{remarks}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:

{remarks}
{example}{code:csharp|title=C#}Integer</p>
Remarks

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:

Example
Code Block
csharp
csharp
titleC#


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

          //--- Set SpaceBefore to 12 pt
          oParagraphFormatting.SpaceBefore = 240;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


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

          '--- Set SpaceBefore to 12 pt
          oParagraphFormatting.SpaceBefore = 240
        
{code} {example}