Description

Array of sheet names. The property is available after opening the Excel file.

Namespace:  DuoDimension.Databeam
Assembly:  Databeam.Excel (in Databeam.Excel.dll)
Version: 2.1.0.0

Syntax

      
 C#  Visual Basic 
public string[] Sheets { get; set; }
Public Property Sheets As String()

Examples

CopyC#
DuoDimension.Databeam.Excel convert = new DuoDimension.Databeam.Excel("*******");
if (convert.IsExcelInstalled == true)
{
    if (convert.OpenXls(xlsfile) == 0)
        for (int i=0; i < convert.Sheet.Length; i++)
        {
            convert.XlsToHtml(i+1, convert.Sheets[i], i.ToString() + htmlfile);
        }
}
CopyVB.NET
Dim convert As New DuoDimension.Databeam.Excel("*******")
If convert.IsExcelInstalled = True Then
    If convert.OpenXls(xlsfile) = 0 Then
        For i As Integer = 0 To i < convert.Sheet.Length
            convert.XlsToHtml(i+1, convert.Sheets[i], i.ToString() + htmlfile);
        Next i
    End If
End If

See Also