WordToMarkdownConverterConvertToMarkdownAsync(Byte, CancellationToken) Method

Asynchronously converts a Word document given as a byte array to Markdown

Definition

Namespace: Winnovative.Pdf.Next
Assembly: Winnovative.Pdf.Next.WordToPdf (in Winnovative.Pdf.Next.WordToPdf.dll) Version: 21.1.0
C#
public Task<string> ConvertToMarkdownAsync(
	byte[] wordBytes,
	CancellationToken ct = default
)

Parameters

wordBytes  Byte
The content of the DOCX file as a byte array
ct  CancellationToken  (Optional)
A cancellation token that can be used to cancel the asynchronous operation

Return Value

TaskString
The Markdown text of the Word document

See Also