PdfToImageConverterConvertToImagesAsync(String, CancellationToken) Method
Asynchronously converts all pages of a PDF file to image objects
Namespace: HiQPdf.NextAssembly: HiQPdf.Next.PdfProcessor (in HiQPdf.Next.PdfProcessor.dll) Version: 1.0.0
public Task<PdfPageImage[]> ConvertToImagesAsync(
string pdfFile,
CancellationToken ct = default
)
- pdfFile String
- Full path of the PDF file 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