Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets or returns a boolean that represents if Word will automatically handle spacing above a paragraph.



{remarks}
{example}{code:csharp|title=C#}

          //--- Return BeforeAutoSpacing
          bool beforeAutoSpacing = oParagraphFormatting.BeforeAutoSpacing;

          //--- Set BeforeAutoSpacing
          oParagraphFormatting.BeforeAutoSpacing = true;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Return BeforeAutoSpacing
          Dim beforeAutoSpacing As Boolean = oParagraphFormatting.BeforeAutoSpacing

          '--- Set BeforeAutoSpacing
          oParagraphFormatting.BeforeAutoSpacing = True
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns a {{boolean}} that represents if Word will automatically handle spacing above a paragraph.{excerpt}
{signature:C#}
 public boolean BeforeAutoSpacing{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property BeforeAutoSpacing() As Boolean
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: Format menu > Paragraph... > Indents and Spacing tab > Spacing section > Before:
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle