Apitron.PDF.Rasterizer library for .NET
Assembly: Apitron.PDF.Rasterizer (in Apitron.PDF.Rasterizer.dll) Version: 3.0.154.0 (3.0.154.0)
Initializes a new instance of the Document class.
Namespace: Apitron.PDF.Rasterizer
Assembly: Apitron.PDF.Rasterizer (in Apitron.PDF.Rasterizer.dll) Version: 3.0.154.0 (3.0.154.0)
Syntax
public Document( Stream stream, AuthEventHandler authRequestHandler, EngineSettings engineSettings = null )
Parameters
- stream
- Type: System.IOStream
The stream to read PDF data from. - authRequestHandler
- Type: Apitron.PDF.Rasterizer.SecurityAuthEventHandler
The authentication request handler. - engineSettings (Optional)
- Type: Apitron.PDF.Rasterizer.ConfigurationEngineSettings
Engine settings that will be used during document processing.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If given stream is null. |
DocumentLoadException | If document can't be loaded because it has invalid structure or password is not valid for the document. |
See Also