ExcelToHtmlConverter Class
Helper class to perform excel to html conversion.
Inheritance
System.Object
ExcelToHtmlConverter
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class ExcelToHtmlConverter : 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