Table of Contents

Class DdlReader

Namespace
MigraDoc.DocumentObjectModel.IO
Assembly
MigraDoc.DocumentObjectModel.dll

Represents a reader that provides access to DDL data.

public class DdlReader
Inheritance
object
DdlReader

Constructors

DdlReader(Stream)

Initializes a new instance of the DdlReader class with the specified Stream.

DdlReader(Stream, DdlReaderErrors?)

Initializes a new instance of the DdlReader class with the specified Stream and ErrorManager2.

DdlReader(TextReader)

Initializes a new instance of the DdlReader class with the specified TextReader.

DdlReader(TextReader, DdlReaderErrors?)

Initializes a new instance of the DdlReader class with the specified TextReader and ErrorManager2.

DdlReader(string)

Initializes a new instance of the DdlReader class with the specified filename.

DdlReader(string, DdlReaderErrors?)

Initializes a new instance of the DdlReader class with the specified filename and ErrorManager2.

Methods

Close()

Closes the underlying stream or text writer.

DocumentFromFile(string)

Reads and returns a Document from the specified file.

DocumentFromString(string)

Reads and returns a Document from the specified DDL string.

ObjectFromFile(string)

Reads and returns a domain object from the specified file.

ObjectFromFile(string, DdlReaderErrors?)

Reads and returns a domain object from the specified file.

ObjectFromString(string, DdlReaderErrors?)

Reads and returns a domain object from the specified DDL string.

ReadDocument()

Reads and returns a Document from a file or a DDL string.

ReadObject()

Reads and returns a DocumentObject from a file or a DDL string.