Message-ID: <2038258669.10465.1711725350179.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10464_397368056.1711725350179" ------=_Part_10464_397368056.1711725350179 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html ParagraphFormatting.SetLineSpacing(Int32, ParagraphFormatting.Sp= acingRule)

ParagraphFormatting.SetLineSpacing(Int32, ParagraphFormatting.Spaci= ngRule)

Description

=20

Sets an int representing the line spacing for a paragraph.<= /p>=20

C#
=20
 public void SetLineSpacing(int spacing, SpacingRule type)
=20
=20
vb.net
=20
Public Sub SetLineSpacing(ByVal spacing As Integer, ByVal type As SpacingRu=
le)
=20
=20

Parameters

=20
spacing
The value for the spacing. The units depend = on the type parameter.=20
type
The type of spacing to use. See=20 S= pacingRule for a discussion on the different types of spacing.=20

Remarks

=20

There are three types of line spacing: AtLeast, Exactly, and Multiple. A= tLeast and Exactly are set in twips. One twip =3D (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 1= 584 pt (31680 twips). Multiple must be between 1 line and 132 lines. Values= beyond these for all 3 types will be adjusted automatically.

=20

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

=20

Examples

=20
C#
=20

          //--- Set LineSpacing to 2 lines
          oParagraphFormatting.SetLineSpacing(2,
               ParagraphFormatting.SpacingRule.Multiple);
        
=20
=20
vb.net
=20

          '--- Set LineSpacing to 2 lines
          oParagraphFormatting.SetLineSpacing(2, _
               ParagraphFormatting.SpacingRule.Multiple)
        
=20
------=_Part_10464_397368056.1711725350179--