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
Parameters
- stream
- Type: System.IOStream
The stream to read PDF data from. - password
- Type: SystemString
The password for the document, setting it to null is equal to setting it to an empty string. - 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