PdfToMarkdownConverterConvertToMarkdownAsync(Stream, CancellationToken) Method

Asynchronously converts all pages of a PDF document in a stream to Markdown

Definition

Namespace: Winnovative.Pdf.Next
Assembly: Winnovative.Pdf.Next.PdfProcessor (in Winnovative.Pdf.Next.PdfProcessor.dll) Version: 21.1.0
C#
public Task<string> ConvertToMarkdownAsync(
	Stream pdfStream,
	CancellationToken ct = default
)

Parameters

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

Return Value

TaskString
The Markdown text of the PDF document

See Also