Click or drag to resize

PdfDecoderRead Method (Stream, Int32, ProgressEventHandler)

Read a PDF document and return the given page as an AtalaImage.

Namespace:  Atalasoft.Imaging.Codec.Pdf
Assembly:  Atalasoft.dotImage.PdfReader (in Atalasoft.dotImage.PdfReader.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public override AtalaImage Read(
	Stream stream,
	int frameIndex,
	ProgressEventHandler progress
)

Parameters

stream
Type: System.IOStream
The stream that holds the PDF document. It is assumed that the stream position points is at the start of the PDF document.
frameIndex
Type: SystemInt32
The zero-based index of the page from which to return information.
progress
Type: Atalasoft.ImagingProgressEventHandler
The progress delegate. Can be set to null (Nothing in Visual Basic).

Return Value

Type: AtalaImage
AtalaImage containing the given page.
See Also