Method ConvertFileToFileAsync
- Namespace
- LMKit.Document.Conversion
- Assembly
- LM-Kit.NET.dll
ConvertFileToFileAsync(string, string, MarkdownToPdfOptions, CancellationToken)
Async version of ConvertFileToFile(string, string, MarkdownToPdfOptions).
public static Task ConvertFileToFileAsync(string markdownPath, string outputPath, MarkdownToPdfOptions options = null, CancellationToken cancellationToken = default)
Parameters
markdownPathstringPath to the Markdown file.
outputPathstringPath where the output PDF will be written.
optionsMarkdownToPdfOptionsOptional conversion options.
cancellationTokenCancellationTokenCancels the operation.