PdfToMarkdownConverterConvertToMarkdownAsync(Stream, CancellationToken) Method
Asynchronously converts all pages of a PDF document in a stream to Markdown
Namespace: EvoPdf.NextAssembly: EvoPdf.Next.PdfProcessor (in EvoPdf.Next.PdfProcessor.dll) Version: 15.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