OpenFile

OpenFile(string)

Just create and return Document using filename. The same as Document.

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

Return Value

Document object

See Also


OpenFile(string, string)

Initialize and return new instance of the Document class for working with encrypted document.

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

Return Value

Document object

See Also


OpenFile(string, string, bool)

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

public Document OpenFile(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.

Return Value

Document object

See Also


OpenFile(string, LoadOptions)

Open an existing document from a file providing necessary converting oprions to get pdf document.

public Document OpenFile(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.

Return Value

Document object

See Also