TabAdd Method

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

Applies to

IWPParInterface

Declaration

procedure TabAdd(Twips: Integer; Kind: Integer; Fill: Integer; ColorNr: Integer);

Description

Add (define) a tabstop in a paragraph.

 

To insert a paragraph at the current position use TextCursor.InputTabStop.

 

Parameters

Twips

Value of this tabstop (in twips=1/1440 inch)

Kind

The tabstop kind:

0 : Left tab

1 : Right tab

2 : Center tab

3 : Decimal tab

Fill

The fill mode used for this tabstop

0: No Filling

1: Dots ......

2: Dots in middle of line

3: Hyphens ------

4: Underline ______

5: Thick Hyphen ---------

6: Equal Signs =======

7: Arrow

ColorNr

0 or the color index. (Predefined index values are: 1=red, 2=green, 3=blue, 4=yellow, you can also use the convert method)


[idh_iwpparinterface_tabadd.htm]    Copyright © 2007 by WPCubed GmbH