ComHelper.OpenStream

OpenStream(Stream)

Initialize and return new Document instance from the input stream.

public Document OpenStream(Stream input)
ParameterTypeDescription
inputStreamStream with pdf document.

Return Value

Document object

See Also


OpenStream(Stream, string)

Initialize and return new Document instance from the input stream.

public Document OpenStream(Stream input, string password)
ParameterTypeDescription
inputStreamInput stream object, corresponding pdf is password protected.
passwordStringUser or owner password.

Return Value

Document object

See Also


OpenStream(Stream, bool)

Initialize and return new Document instance from the input stream.

public Document OpenStream(Stream input, bool isManagedStream)
ParameterTypeDescription
inputStreamStream with pdf document.
isManagedStreamBooleanif set to true inner stream is closed before exit; otherwise, is not.

Return Value

Document object

See Also


OpenStream(Stream, string, bool)

Initialize and return new Document instance from the input stream.

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

Return Value

Document object

See Also


OpenStream(Stream, LoadOptions)

Open and return an existing document from a stream providing necessary converting to get pdf document.

public Document OpenStream(Stream input, LoadOptions options)
ParameterTypeDescription
inputStreamInput stream to convert into pdf document.
optionsLoadOptionsRepresents properties for converting input into pdf document.

Return Value

Document object

See Also