Range.InsertAlignmentTab Method
Inserts an absolute tab that is always positioned in the same spot, relative to either the margins or indents.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub InsertAlignmentTab ( _
Alignment As Integer, _
RelativeTo As Integer _
)
'Usage
Dim instance As Range
Dim Alignment As Integer
Dim RelativeTo As Integer
instance.InsertAlignmentTab(Alignment, _
RelativeTo)
void InsertAlignmentTab(
int Alignment,
int RelativeTo
)
Parameters
- Alignment
Type: System.Int32
Required Integer Indicates the type of alignment—left, center, or right—for the tab stop. Can be one of the WdAlignmentTabAlignment constants.
- RelativeTo
Type: System.Int32
Required Integer Indicates whether the tab stop is relative to the margins or to the paragraph indents. Can be one of the WdAlignmentTabRelative constants.