Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






addNewLine method

Appends one or more new lines (carriage returns) to a rich text item.

Defined in

RichTextItem

Syntax

public void addNewLine()

throws NotesException
public void addNewLine(int count)

throws NotesException
public void addNewLine(int count, boolean newparagraph)

throws NotesException

Parameters

int count

The number of new lines to append.

boolean newparagraph

If true (default), forces the new line to be a paragraph separator. If false, the new line is added, but does not force a new paragragh.

Usage

By default the insertion occurs at the end of the item. You can change the insertion point with beginInsert and endInsert.

Language cross-reference

AddNewLine method in LotusScript NotesRichTextItem class

@NewLine function in formula language

@Char function in formula language

See examples

Examples: addNewLine, addPageBreak, addTab, and appendText methods
Related topics
Writing in rich text items in Java classes




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009