Table of Contents

Method AddText

Namespace
MigraDoc.DocumentObjectModel
Assembly
MigraDoc.DocumentObjectModel.dll

AddText(string)

Adds a Text object. The text may contain \n and \t, which results in more than one text objects to be added. The function returns the last text object that was created.

public Text AddText(string text)

Parameters

text string

Contents of the new Text objects.

Returns

Text

Returns a new Text object with the last element of text that was added.