PdfToMarkdownConverterConvertToMarkdownAsync(Stream, Int32, CancellationToken) Method
Asynchronously converts the pages of a PDF document in a stream to Markdown, starting from a given page
Namespace: EvoPdf.NextAssembly: EvoPdf.Next.PdfProcessor (in EvoPdf.Next.PdfProcessor.dll) Version: 15.1.0
public Task<string> ConvertToMarkdownAsync(
Stream pdfStream,
int startPageNumber,
CancellationToken ct = default
)
- pdfStream Stream
- Stream containing the PDF document to be converted
- startPageNumber Int32
- Start page number
- ct CancellationToken (Optional)
- A cancellation token that can be used to cancel the asynchronous operation
TaskStringThe Markdown text of the PDF pages