PdfToMarkdownConverterConvertToMarkdownAsync(Byte, Int32, Int32, CancellationToken) Method

Asynchronously converts a range of pages of a PDF document to Markdown

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,
	int endPageNumber,
	CancellationToken ct = default
)

Parameters

pdfData  Byte
Memory buffer containing the PDF document to be converted
startPageNumber  Int32
Start page number
endPageNumber  Int32
End page number. A value of 0 means the last page of the document
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