Document.Document

Document(Stream)

Initialize new Document instance from the input stream.

public Document(Stream input)
ParameterTypeDescription
inputStreamStream 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)
ParameterTypeDescription
inputStreamStream with pdf document.
passwordStringUser or owner password.
isManagedStreamBooleanif 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)
ParameterTypeDescription
inputStreamStream with pdf document.
isManagedStreamBooleanif 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)
ParameterTypeDescription
filenameStringThe 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)
ParameterTypeDescription
inputStreamInput stream object, corresponding pdf is password protected.
passwordStringUser or owner password.

See Also


Document()

Initializes empty document.

public Document()

See Also


Document(string, string)

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

public Document(string filename, string password)
ParameterTypeDescription
filenameStringDocument file name.
passwordStringUser 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)
ParameterTypeDescription
filenameStringDocument file name.
passwordStringUser or owner password.
isManagedStreamBooleanif set to true inner stream is closed before exit; otherwise, is not.

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)
ParameterTypeDescription
filenameStringInput file to convert into pdf document.
optionsLoadOptionsRepresents 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)
ParameterTypeDescription
inputStreamInput stream to convert into pdf document.
optionsLoadOptionsRepresents properties for converting input into pdf document.

See Also