setTabs (NotesRichTextParagraphStyle - JavaScript™)
Sets tabs at even intervals in a rich text paragraph style.
Defined in
NotesRichTextParagraphStyleSyntax
setTabs(count:int, startpos:int,
interval:int) : void
setTabs(count:int, startpos:int,
interval:int, type:int) : void
Parameter | Description |
---|---|
int count |
Number of tabs to be set. |
int startpos |
Position of the first tab. The following constants
are available:
|
int interval |
Interval between tabs. The following constants
are available:
|
int type |
|
Usage
See RichTextTab for additional information and an example.You can apply arithmetic to the position and interval constants to obtain other measurements. For example, RULER_ONE_CENTIMETER * 2 for two centimeters or (int)(RULER_ONE_INCH * 0.75) for three-quarters of an inch. The actual int value is in "twips," where one centimeter is 567 twips and one inch is 1440 twips.