WordToMarkdownConverterConvertToMarkdownFileAsync(Byte, String, CancellationToken) Method

Asynchronously converts a Word document given as a byte array to Markdown and saves the text in a file in UTF-8 encoding

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next.WordToPdf (in EvoPdf.Next.WordToPdf.dll) Version: 15.1.0
C#
public Task ConvertToMarkdownFileAsync(
	byte[] wordBytes,
	string outputMarkdownFilePath,
	CancellationToken ct = default
)

Parameters

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

Return Value

Task
A task that represents the asynchronous operation

See Also