Document Constructor (Stream, EngineSettings)

Apitron PDF Rasterizer help
Apitron.PDF.Rasterizer library for .NET
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,
	EngineSettings engineSettings = null
)

Parameters

stream
Type: System.IOStream
The stream to read PDF data from.
engineSettings (Optional)
Type: Apitron.PDF.Rasterizer.ConfigurationEngineSettings
Engine settings that will be used during document processing.
Exceptions

ExceptionCondition
ArgumentNullExceptionIf given stream is null.
DocumentLoadExceptionIf document can't be loaded because it has invalid structure.
See Also

Reference