Table of Contents

Class DocumentElements

Namespace
MigraDoc.DocumentObjectModel
Assembly
MigraDoc.DocumentObjectModel.dll

Represents a collection of document elements.

public class DocumentElements : DocumentObjectCollection
Inheritance
object
DocumentElements
Inherited Members
Extension Methods

Constructors

DocumentElements()

Initializes a new instance of the DocumentElements class.

Properties

this[int]

Gets a document object by its index.

Values

Gets the underlying internal nullable values for the properties of this document object.

Methods

AddBarcode()

Adds a new barcode to the collection.

AddChart()

Adds a new chart with the specified type to the collection.

AddChart(ChartType)

Adds a new chart with the specified type to the collection.

AddImage(string)

Adds a new image to the collection.

AddLegend()

Adds a new legend to the collection.

AddPageBreak()

Add a manual page break.

AddParagraph()

Adds a new paragraph to the collection.

AddParagraph(string)

Adds a new paragraph with the specified text to the collection.

AddParagraph(string, string)

Adds a new paragraph with the specified text and style to the collection.

AddTable()

Adds a new table to the collection.

AddTextFrame()

Adds a new text frame to the collection.

Clone()

Creates a deep copy of this object.