Document Constructor (Stream, String)
Assembly: TallComponents.PDF.Rasterizer (in TallComponents.PDF.Rasterizer.dll) Version: 188.8.131.52
public Document( Stream stream, string password )
Public Sub New ( stream As Stream, password As String )
Password that is required to open this document.
This method is optimized for speed, and will cache some data into memory if any is true:
- the stream does not provide random access (!stream.CanSeek);
- the stream is read from a file (stream is FileStream).
If you want to have full control over the caching behaviour, please use the overload with the BinaryReader, see the remarks available by that constructor for detailed information.