menu

Document Processing

ExcelToHtmlConverter Class - C# Excel Library API Reference | Syncfusion

    Show / Hide Table of Contents

    ExcelToHtmlConverter Class

    Helper class to perform excel to html conversion.

    Inheritance
    System.Object
    ExcelToHtmlConverter
    Implements
    System.IDisposable
    Namespace: Syncfusion.XlsIO.Implementation
    Assembly: Syncfusion.XlsIO.Base.dll
    Syntax
    public class ExcelToHtmlConverter : Object, IDisposable
    Remarks

    Excel To Html Conversion is not supported in WinRT, Windows Phone, Universal, Portable and Silverlight platforms.

    Constructors

    ExcelToHtmlConverter()

    Initializes a new instance of the ExcelToHtmlConverter class.

    Declaration
    public ExcelToHtmlConverter()

    Methods

    ConvertChartToImage(IChart)

    Converts Chart to Image

    Declaration
    public Image ConvertChartToImage(IChart chart)
    Parameters
    Type Name Description
    IChart chart

    The Chart

    Returns
    Type
    System.Drawing.Image

    ConvertToHtml(Stream, WorkbookImpl, String, HtmlSaveOptions)

    Converts the specified stream.

    Declaration
    public void ConvertToHtml(Stream stream, WorkbookImpl book, string outputDirectoryPath, HtmlSaveOptions saveOption)
    Parameters
    Type Name Description
    System.IO.Stream stream

    The stream.

    WorkbookImpl book

    The book.

    System.String outputDirectoryPath

    The output directory path.

    HtmlSaveOptions saveOption

    The saveoption.

    ConvertToHtml(Stream, WorksheetImpl, String, HtmlSaveOptions)

    Converts the specified stream.

    Declaration
    public void ConvertToHtml(Stream stream, WorksheetImpl sheet, string outputDirectoryPath, HtmlSaveOptions saveOption)
    Parameters
    Type Name Description
    System.IO.Stream stream

    The stream.

    WorksheetImpl sheet

    The sheet.

    System.String outputDirectoryPath

    The output directory path.

    HtmlSaveOptions saveOption

    The saveoption.

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved