Message-ID: <1063485648.10317.1711721529650.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10316_2023095857.1711721529650" ------=_Part_10316_2023095857.1711721529650 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Document.DefaultTabWidth

Document.DefaultTabWidth

Description

=20

Sets or returns an int representing the default tab width f= or this Document. The value that is = returned is in twips. One twip =3D (1/20 pt) or ( 1/1440 in).

=20
C#
=20
 public int DefaultTabWidth{ get; set; }
=20
=20
vb.net
=20
Public Property DefaultTabWidth() As Integer
=20
=20

Remarks

MS Word equivalent= : Format menu > Tabs... > Default tab stops=20

Examples

=20
C#
=20

          //--- Return DefaultTabWidth
          int defaultTabWidth =3D oDocument.DefaultTabWidth;

          //--- Set DefaultTabWidth to 1 inch
          oDocument.DefaultTabWidth =3D 1440;
        
=20
=20
vb.net
=20

          '--- Return DefaultTabWidth
          Dim defaultTabWidth As Integer =3D oDocument.DefaultTabWidth

          '--- Set DefaultTabWidth to 1 inch
          oDocument.DefaultTabWidth =3D 1440
        
=20
------=_Part_10316_2023095857.1711721529650--