PdfToMarkdownConverterConvertToMarkdownAsync(Byte, Int32, CancellationToken) Method

Asynchronously converts the pages of a PDF document to Markdown, starting from a given page

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next.PdfProcessor (in EvoPdf.Next.PdfProcessor.dll) Version: 15.1.0
C#
public Task<string> ConvertToMarkdownAsync(
	byte[] pdfData,
	int startPageNumber,
	CancellationToken ct = default
)

Parameters

pdfData  Byte
Memory buffer 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

Return Value

TaskString
The Markdown text of the PDF pages

See Also