Table of Contents

Method AddFormattedText

Namespace
MigraDoc.DocumentObjectModel
Assembly
MigraDoc.DocumentObjectModel.dll

Adds a new FormattedText.

public FormattedText AddFormattedText()

Returns

FormattedText

Adds a new FormattedText object with the given format.

public FormattedText AddFormattedText(TextFormat textFormat)

Parameters

textFormat TextFormat

Returns

FormattedText

Adds a new FormattedText with the given Font.

public FormattedText AddFormattedText(Font font)

Parameters

font Font

Returns

FormattedText

Adds a new FormattedText with the given text.

public FormattedText AddFormattedText(string text)

Parameters

text string

Returns

FormattedText

Adds a new FormattedText object with the given text and format.

public FormattedText AddFormattedText(string text, TextFormat textFormat)

Parameters

text string
textFormat TextFormat

Returns

FormattedText

Adds a new FormattedText object with the given text and font.

public FormattedText AddFormattedText(string text, Font font)

Parameters

text string
font Font

Returns

FormattedText

Adds a new FormattedText object with the given text and style.

public FormattedText AddFormattedText(string text, string style)

Parameters

text string
style string

Returns

FormattedText