Skip to end of metadata
Go to start of metadata

Description

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

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

Remarks

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

Examples

C#

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

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

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

          '--- Set DefaultTabWidth to 1 inch
          oDocument.DefaultTabWidth = 1440
        
  • No labels