TabStop Method

Returns a TabStop object, that corresponds to a tab stop with the specified index in the tab stop collection of the text block.

Applies to: TextBlock object

Syntax

[[Set] tabStopRet = ] object.TabStop ( index )

The TabStop method syntax has these parts:

Part Description
object Required. An expression that returns a TextBlock object.
index Required. An expression that returns a Long value. The index of the tab stop in the tab stop collection of object's text block.
tabStopRet Optional. A TabStop type variable.

Remarks

If index is less than 1 or greater than the number of tab stops in the text block, the TabStop method returns Nothing. Use the TabStopsNum method to find out the number of tab stops in the text block.

 

See Also

AddTabStop method, RemoveTabStop method, TabStopsNum method, TabStop object