ExcelToMarkdownConverter Class

Converts Excel (.xlsx) workbooks to Markdown text with the content of each worksheet written as tables

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next.ExcelToPdf (in EvoPdf.Next.ExcelToPdf.dll) Version: 15.1.0
C#
public class ExcelToMarkdownConverter
Inheritance
Object    ExcelToMarkdownConverter

Constructors

ExcelToMarkdownConverter Creates an Excel to Markdown converter with default options

Properties

ConvertOnlyFirstWorksheet Gets or sets a value indicating whether only the first worksheet of the workbook should be converted. When false, all worksheets in the workbook are converted. The default value is false
DisplayWorksheetTitle Gets or sets a value indicating whether the worksheet title is written as a heading before the content of each worksheet. The default value is true
ImageFileName The name of the image files saved when ImageMode is File, without number and extension. The default value is "image"
ImageMode The way the pictures of the workbook are written in Markdown, after the content of their worksheet. The default value is None
ImagesFolder The folder where the images are saved as files when ImageMode is File
ImagesLinkPath The path written before the image file names in the Markdown links when ImageMode is File. By default it is the name of the images folder
OpenPassword Gets or sets the password to open the Excel workbook, when the workbook is protected with a password
RecalculateFormulas Whether the formulas that have a value stored in the workbook are calculated again during the conversion. This is normally not needed. Set it for a workbook saved with values that are out of date or to have the functions that give the current date and time show the time of the conversion. The default value is false

Methods

ConvertToMarkdown(Byte) Converts an Excel workbook given as a byte array to Markdown
ConvertToMarkdown(String) Converts an Excel file to Markdown
ConvertToMarkdownAsync(Byte, CancellationToken) Asynchronously converts an Excel workbook given as a byte array to Markdown
ConvertToMarkdownAsync(String, CancellationToken) Asynchronously converts an Excel file to Markdown
ConvertToMarkdownFile(Byte, String) Converts an Excel workbook given as a byte array to Markdown and saves the text in a file in UTF-8 encoding
ConvertToMarkdownFile(String, String) Converts an Excel file to Markdown and saves the text in a file in UTF-8 encoding
ConvertToMarkdownFileAsync(Byte, String, CancellationToken) Asynchronously converts an Excel workbook given as a byte array to Markdown and saves the text in a file in UTF-8 encoding
ConvertToMarkdownFileAsync(String, String, CancellationToken) Asynchronously converts an Excel file to Markdown and saves the text in a file in UTF-8 encoding
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also