IWPParInterface.TabCount

[Top]  [Chapter]  [Previous]  [Next]

Applies to

IWPParInterface                                                

Declaration

 

This method returns the total count of tabstops defined in this paragraph.

 

VB6 - Example, reads all tabstops one after the other

 

  Dim c, i, pos, Align, Farbe, Leader

 

  c = Ctl.CurrPar.TabCount

  If c < 1 Then Exit Sub

  

  For i = 0 To c - 1                        'get Tabs

      If Ctl.CurrPar.TabGet(i, pos, Align, Farbe, Leader) = 0 And pos > 0 Then

        ....

      End If

    End If

  Next


[iwpparinterface_tabcount.htm]    Copyright © 2007 by WPCubed GmbH