Microsoft Word Suite
168
Class: tab stop
Plural
tab stops
Represents a single tab stop. The tab stops list represents all the custom and default tab stops in a
paragraph or group of paragraphs.
Use tab stop index, where index is the location of the tab stop (in points) or the index number, to
return a single tab stop object. Tab stops are indexed numerically from left to right along the ruler.
The following example removes the first custom tab stop from the first paragraph of the selection.
clear tab stop 1 of paragraph 1 of selection
The following example adds a right-aligned tab stop positioned at 2 inches to the first selected
paragraphs.
make new tab stop at paragraph 1 of selection with properties ¬
{tab stop position:(inches to points inches 2), ¬
alignment:align
tab
right}
To add a tab stop, use the make command. The following example adds two tab stops to the first
selected paragraph. The first tab stop is a left-aligned tab with a dotted tab leader positioned at 1
inch (72 points). The second tab stop is centered and is positioned at 2 inches.
make new tab stop at paragraph 1 of selection with properties ¬
{tab stop position:(inches to points inches 1), ¬
tab leader:tab leader dots, alignment:align tab left}
make new tab stop at paragraph 1 of selection with properties ¬
{tab stop position:(inches to points inches 2), ¬
alignment:align
tab
center}
Note To adjust the spacing of default tab stops, set the default tab stop property of a document object.
Properties
alignment
Returns or sets the alignment for the specified tab stop. Read/write.
Can be one of the following:
·
align tab bar
·
align tab center
·
align tab decimal
·
align tab left
·
align tab list
·
align tab right