MarkdownToPdfConverterConvertFileToPdfAsync Method
Asynchronously converts a Markdown file to a PDF byte array
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next.MarkdownToPdf (in Winnovative.Pdf.Next.MarkdownToPdf.dll) Version: 20.0.0
public Task<byte[]> ConvertFileToPdfAsync(
string markdownFilePath,
CancellationToken ct = default
)
- markdownFilePath String
- Full path to the input Markdown file
- ct CancellationToken (Optional)
-
A cancellation token that can be used to cancel the asynchronous operation. When cancellation
is requested the task returned by this method will complete by throwing
OperationCanceledException as soon as possible
TaskByteGenerated PDF bytes