Returns the number of tab stops in the specified text block.
Applies to: TextBlock object
[[Let] countRet = ] object.TabStopsNum () |
The TabStopsNum method syntax has these parts:
Part | Description |
object | Required. An expression that returns a TextBlock object. |
countRet | Optional. A Long type variable. |
If the text block doesn't contain any tab stops, the method returns 0.
This example demonstrates using the TabStopsNum method. It assumes that the active page already contains the Shape with ID1, which has text, and probably one or more tab stops.
Dim s as Shape |
See Also |
AddTabStop method, RemoveTabStop method, TabStop method |