Table of Contents

Method AddFormattedText

Namespace
MigraDoc.DocumentObjectModel
Assembly
MigraDoc.DocumentObjectModel.dll

AddFormattedText()

Adds a new FormattedText.

public FormattedText AddFormattedText()

Returns

FormattedText

AddFormattedText(TextFormat)

Adds a new FormattedText object with the given format.

public FormattedText AddFormattedText(TextFormat textFormat)

Parameters

textFormat TextFormat

Returns

FormattedText

AddFormattedText(Font)

Adds a new FormattedText with the given Font.

public FormattedText AddFormattedText(Font font)

Parameters

font Font

Returns

FormattedText

AddFormattedText(string)

Adds a new FormattedText with the given text.

public FormattedText AddFormattedText(string text)

Parameters

text string

Returns

FormattedText

AddFormattedText(string, TextFormat)

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

AddFormattedText(string, Font)

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

AddFormattedText(string, string)

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