setTab (NotesRichTextParagraphStyle - JavaScript™)
Sets a tab in a rich text paragraph style.
Defined in
NotesRichTextParagraphStyleSyntax
setTab(position:int, type:int)
: void
Parameter | Description |
---|---|
int position |
Position of the tab. The following constants
are available:
|
int type |
|
Usage
See RichTextTab for additional information and an example.You can apply arithmetic to the position 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.