Class DocumentFactory

DocumentFactory class

Class which allows to create/load documents of different types.

public class DocumentFactory

Constructors

NameDescription
DocumentFactory()The default constructor.

Methods

NameDescription
CreateDocument()Create empty document.
CreateDocument(Stream)Load document from a stream.
CreateDocument(string)Load document from a file.
CreateDocument(Stream, LoadOptions)Create document.
CreateDocument(Stream, string)Load password protected document from a stream.

See Also