Class ParagraphElements
- Namespace
- MigraDoc.DocumentObjectModel
- Assembly
- MigraDoc.DocumentObjectModel.dll
A ParagraphElements collection contains the individual objects of a paragraph.
public class ParagraphElements : DocumentObjectCollection
- Inheritance
-
objectParagraphElements
- Inherited Members
- Extension Methods
Constructors
- ParagraphElements()
Initializes a new instance of the ParagraphElements class.
Properties
- this[int]
Gets a ParagraphElement by its index.
- Values
Gets the underlying internal nullable values for the properties of this document object.
Methods
- AddBookmark(string, bool)
Adds a new Bookmark.
- AddChar(char)
Adds a single character to the paragraph.
- AddChar(char, int)
Adds a single character repeated the specified number of times to the paragraph.
- AddCharacter(SymbolName)
Adds a Character object.
- AddCharacter(SymbolName, int)
Adds one or more Character objects.
- AddCharacter(char)
Adds a Character object defined by a character.
- AddCharacter(char, int)
Adds one or more Character objects defined by a character.
- AddDateField()
Adds a new DateField.
- AddDateField(string)
Adds a new DateField with the given format.
- AddFootnote()
Adds a new Footnote.
- AddFootnote(string)
Adds a new Footnote with the specified Text.
- AddFormattedText()
Adds a new FormattedText.
- AddFormattedText(Font)
Adds a new FormattedText with the given Font.
- AddFormattedText(TextFormat)
Adds a new FormattedText object with the given format.
- AddFormattedText(string)
Adds a new FormattedText with the given text.
- AddFormattedText(string, Font)
Adds a new FormattedText object with the given text and font.
- AddFormattedText(string, TextFormat)
Adds a new FormattedText object with the given text and format.
- AddFormattedText(string, string)
Adds a new FormattedText object with the given text and style.
- AddHyperlink(string)
Adds a new Hyperlink of Type "Local", i.e. the target is a Bookmark within the Document.
- AddHyperlink(string, HyperlinkType)
Adds a new Hyperlink.
- AddHyperlink(string, string, HyperlinkTargetWindow)
Adds a new Hyperlink of Type "ExternalBookmark", i.e. the target is a Bookmark in an external PDF Document.
- AddHyperlinkToEmbeddedDocument(string, HyperlinkTargetWindow)
Adds a new Hyperlink of Type "EmbeddedDocument". The target is a Bookmark in an embedded Document in this Document.
- AddHyperlinkToEmbeddedDocument(string, string, HyperlinkTargetWindow)
Adds a new Hyperlink of Type "EmbeddedDocument". The target is a Bookmark in an embedded Document in an external PDF Document.
- AddImage(string)
Adds a new Image.
- AddInfoField(InfoFieldType)
Adds a new InfoField with the given type.
- AddLineBreak()
Adds a line break.
- AddMailLink(string)
Adds a new Hyperlink using the mailto protocol. The protocol is automatically added if missing.
- AddNumPagesField()
Adds a new NumPagesField.
- AddPageField()
Adds a new PageField.
- AddPageRefField(string)
Adds a new RefFieldPage.
- AddSectionField()
Adds a new SectionField.
- AddSectionPagesField()
Adds a new SectionPagesField.
- AddSpace(int)
Adds a space character as many as count.
- AddTab()
Adds a horizontal tab.
- 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.
- AddWebLink(string)
Adds a new Hyperlink using the HTTP or HTTPS protocol. The HTTP protocol is automatically added if neither HTTP nor HTTPS is specified.
- Clone()
Creates a deep copy of this object.