[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.TextLayout.AppendLine

AppendLine Method

AppendLine()

Adds a line break element to the end of the Inlines collection.

Declaration
public LineBreak AppendLine()
Public Function AppendLine() As LineBreak
Returns
Type Description
LineBreak

The appended LineBreak.

AppendLine(TextFormat)

Adds a line break element to the end of the Inlines collection.

Declaration
public LineBreak AppendLine(TextFormat format)
Public Function AppendLine(format As TextFormat) As LineBreak
Parameters
Type Name Description
TextFormat format

The text format.

Returns
Type Description
LineBreak

The appended LineBreak.

AppendLine(string)

Adds a text run with default formatting, followed by a line break, to the end of the Inlines collection.

Declaration
public LineBreak AppendLine(string text)
Public Function AppendLine(text As String) As LineBreak
Parameters
Type Name Description
string text

The text to append.

Returns
Type Description
LineBreak

The appended LineBreak.

AppendLine(string, TextFormat)

Adds a text run with the specified format, followed by a line break, to the end of the Inlines collection.

Declaration
public LineBreak AppendLine(string text, TextFormat format)
Public Function AppendLine(text As String, format As TextFormat) As LineBreak
Parameters
Type Name Description
string text

The text to append.

TextFormat format

The text format.

Returns
Type Description
LineBreak

The appended LineBreak.