Word .NET > Tutorial > Tab stops

The following example shows you how to use tab stops and tab characters to align text in a Word document.

C# example - Simple tabs
C# example - Custom tab stops with alignment
VB example

Tab types:

  • Left - Left-aligned tab
  • Center - Center-aligned tab
  • Right - Right-aligned tab
  • Decimal - Decimal-aligned tab
  • Bar - Bar tab (vertical line)
  • Clear - Removes tab stop

Note: Tab positions are specified in twips (1/20th of a point). For example, 1440 twips = 1 inch.

Need help? Ask our developers: