Document

Document(Stream)

Initialize new Document instance from the input stream.

public Document(Stream input)
Parameter Type Description
input Stream Stream with pdf document.

See Also


Document(Stream, string, bool)

Initialize new Document instance from the input stream.

public Document(Stream input, string password, bool isManagedStream)
Parameter Type Description
input Stream Stream with pdf document.
password String User or owner password.
isManagedStream Boolean if set to true inner stream is closed before exit; otherwise, is not.

See Also


Document(Stream, bool)

Initialize new Document instance from the input stream.

public Document(Stream input, bool isManagedStream)
Parameter Type Description
input Stream Stream with pdf document.
isManagedStream Boolean if set to true inner stream is closed before exit; otherwise, is not.

See Also


Document(string)

Just init Document using filename. The same as Document.

public Document(string filename)
Parameter Type Description
filename String The name of the pdf document file.

See Also


Document(Stream, string)

Initialize new Document instance from the input stream.

public Document(Stream input, string password)
Parameter Type Description
input Stream Input stream object, corresponding pdf is password protected.
password String User or owner password.

See Also


Document()

Initializes empty document.

public Document()

See Also


Document(string, LoadOptions)

Opens an existing document from a file providing necessary converting options to get pdf document.

public Document(string filename, LoadOptions options)
Parameter Type Description
filename String Input file to convert into pdf document.
options LoadOptions Represents properties for converting filename into pdf document.

See Also


Document(Stream, LoadOptions)

Opens an existing document from a stream providing necessary converting to get pdf document.

public Document(Stream input, LoadOptions options)
Parameter Type Description
input Stream Input stream to convert into pdf document.
options LoadOptions Represents properties for converting input into pdf document.

See Also


Document(string, string)

Initializes new instance of the Document class for working with encrypted document.

public Document(string filename, string password)
Parameter Type Description
filename String Document file name.
password String User or owner password.

See Also


Document(string, string, bool)

Initializes new instance of the Document class for working with encrypted document.

public Document(string filename, string password, bool isManagedStream)
Parameter Type Description
filename String Document file name.
password String User or owner password.
isManagedStream Boolean if set to true inner stream is closed before exit; otherwise, is not.

See Also