PdfToMarkdownConverterConvertToMarkdownAsync(Stream, CancellationToken) Method
Asynchronously converts all pages of a PDF document in a stream to Markdown
Namespace: HiQPdf.NextAssembly: HiQPdf.Next.PdfProcessor (in HiQPdf.Next.PdfProcessor.dll) Version: 19.1.0
public Task<string> ConvertToMarkdownAsync(
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
TaskStringThe Markdown text of the PDF document