SetTabs (NotesRichTextParagraphStyle - LotusScript®)

Sets tabs at even intervals in a rich text paragraph style.

Defined in

NotesRichTextParagraphStyle

Syntax

Call notesRichTextParagraphStyle .SetTabs( number%, startposition, interval, type% )

Parameters

number%

Integer. Number of tabs to be set.

startposition

Long. Position of the first tab. The following constants are available:

  • RULER_ONE_INCH (1440)
  • RULER_ONE_CENTIMETER (567)

The unit of measure used by the preceding constants is a "twip," where one centimeter is 567 twips and one inch is 1440 twips. You can apply arithmetic to the constants to obtain other measurements. For example, RULER_ONE_CENTIMETER * 2 for two centimeters or RULER_ONE_INCH * 0.75 for three-quarters of an inch.

interval

Note: In COM, this parameter is optional and defaults to 1.

Long. Interval between tabs. The following constants are available:

  • RULER_ONE_INCH (1440)
  • RULER_ONE_CENTIMETER (567)

The unit of measure used by the preceding constants is a "twip," where one centimeter is 567 twips and one inch is 1440 twips. You can apply arithmetic to the constants to obtain other measurements. For example, RULER_ONE_CENTIMETER * 2 for two centimeters or RULER_ONE_INCH * 0.75 for three-quarters of an inch.

type%

Constant of type Integer. Type of tab.

  • TAB_CENTER (3)
  • TAB_DECIMAL (2)
  • TAB_LEFT (0)
  • TAB_RIGHT (1)

Example