PdfToImageConverterConvertToImagesAsync(Stream, CancellationToken) Method
Asynchronously converts all pages of a PDF document in a stream to image objects
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next.PdfProcessor (in Winnovative.Pdf.Next.PdfProcessor.dll) Version: 20.0.0
public Task<PdfPageImage[]> ConvertToImagesAsync(
Stream pdfStream,
CancellationToken ct = default
)
- pdfStream Stream
- Stream containing the PDF document to be converted
- ct CancellationToken (Optional)
-
A cancellation token that can be used to cancel the asynchronous operation. When cancellation
is requested the task returned by this method will complete by throwing
OperationCanceledException as soon as possible
TaskPdfPageImageThe images of the PDF pages