Alignment (RichTextParagraphStyle - Java)

Read-Write. Horizontal alignment of text in each paragraph.

Defined in

RichTextParagraphStyle

Data type

int

Syntax

public int getAlignment()
    throws NotesException
public void setAlignment(int value)
    throws NotesException

Legal values

  • RichTextParagraphStyle.ALIGN_CENTER
  • RichTextParagraphStyle.ALIGN_FULL
  • RichTextParagraphStyle.ALIGN_LEFT
  • RichTextParagraphStyle.ALIGN_NOWRAP
  • RichTextParagraphStyle.ALIGN_RIGHT

Example