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
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:vb.net}
Public Property BeforeAutoSpacing() As Boolean
{signature}
{remarks}MS Word equivalent: Format menu > Paragraph... > Indents and Spacing tab > Spacing section > Before:

{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}