'Declaration Public Sub SaveHtml( _ ByVal stream As System.IO.Stream _ )
'Usage Dim instance As Worksheet Dim stream As System.IO.Stream instance.SaveHtml(stream)
public void SaveHtml( System.IO.Stream stream )
Parameters
- stream
- The HTML stream.
'Declaration Public Sub SaveHtml( _ ByVal stream As System.IO.Stream _ )
'Usage Dim instance As Worksheet Dim stream As System.IO.Stream instance.SaveHtml(stream)
public void SaveHtml( System.IO.Stream stream )
gcSpreadSheet1.Sheets[0].ShowGridLine = true; gcSpreadSheet1.Sheets[0].GridLineColor = Color.FromArgb(255, 150, 25, 199); gcSpreadSheet1.Sheets[0].Cells[0, 0].Text = "test"; SaveFileDialog saveFileDialog = new SaveFileDialog(); saveFileDialog.Filter = "Html File (.html)|*.html"; bool? useClick = saveFileDialog.ShowDialog(); if (useClick == true) { var stream = saveFileDialog.OpenFile(); gcSpreadSheet1.Sheets[0].SaveHtml(stream); stream.Dispose(); }
GcSpreadSheet1.Sheets(0).ShowGridLine = True GcSpreadSheet1.Sheets(0).GridLineColor = Color.FromArgb(255, 150, 25, 199) GcSpreadSheet1.Sheets(0).Cells(0, 0).Text = "test" Dim saveFileDialog = New SaveFileDialog() saveFileDialog.Filter = "Html File(.html)|*.html" Dim useClick As Boolean = saveFileDialog.ShowDialog() If (useClick = True) Then Dim stream = saveFileDialog.OpenFile() GcSpreadSheet1.Sheets(0).SaveHtml(stream) End If