Page tree

Versions Compared

Key

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

Excerpt

Returns an int representing the line spacing for a paragraph.



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

          //--- Return LineSpacing
          int lineSpacing = oParagraphFormatting.LineSpacing;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Return LineSpacing
          Dim lineSpacing As Integer = oParagraphFormatting.LineSpacing
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Returns an {{int}} representing the line spacing for a paragraph.{excerpt}
{signature:C#}
 public int LineSpacing{ get; }
Signature
{signature}{signature:vb.net
vb.net
}
Public ReadOnly Property LineSpacing() As Integer
Remarks
There are three types of line spacing: AtLeast, Exactly, and Multiple. AtLeast and Exactly are set in twips. One twip =
{signature}
{remarks}There are three types of line spacing: AtLeast, Exactly, and Multiple. AtLeast and Exactly are set in twips.  One twip = \(1/20 pt\) or \(1/1440 in\). Multiple is set in number of lines. AtLeast must be between 0 pt \(0 twips\) and 1584 pt \(31680 twips\).  Exactly must be between 0.7 pt \(14 twips\) and 1584 pt \(31680 twips\). Multiple must be between 1 line and 132 lines. Values beyond these for all 3 types will be adjusted automatically.


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


The default value for this property is 2.
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle