Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / SaveHtmlRange Method / SaveHtmlRange(Int32,Int32,Int32,Int32,Boolean,Boolean,Boolean,String) Method
Starting row index
Starting column index
Number of rows
Number of columns
True to include row headers
True to include column headers
True to include column footer
Path and file name
Example


In This Topic
    SaveHtmlRange(Int32,Int32,Int32,Int32,Boolean,Boolean,Boolean,String) Method
    In This Topic
    Saves the specified range in the sheet to the specified file in HTML.
    Syntax
    'Declaration
     
    Public Overloads Sub SaveHtmlRange( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal rowCount As Integer, _
       ByVal columnCount As Integer, _
       ByVal rowHeaders As Boolean, _
       ByVal columnHeaders As Boolean, _
       ByVal columnFooter As Boolean, _
       ByVal filename As String _
    ) 
    'Usage
     
    Dim instance As SheetView
    Dim row As Integer
    Dim column As Integer
    Dim rowCount As Integer
    Dim columnCount As Integer
    Dim rowHeaders As Boolean
    Dim columnHeaders As Boolean
    Dim columnFooter As Boolean
    Dim filename As String
     
    instance.SaveHtmlRange(row, column, rowCount, columnCount, rowHeaders, columnHeaders, columnFooter, filename)
    public void SaveHtmlRange( 
       int row,
       int column,
       int rowCount,
       int columnCount,
       bool rowHeaders,
       bool columnHeaders,
       bool columnFooter,
       string filename
    )

    Parameters

    row
    Starting row index
    column
    Starting column index
    rowCount
    Number of rows
    columnCount
    Number of columns
    rowHeaders
    True to include row headers
    columnHeaders
    True to include column headers
    columnFooter
    True to include column footer
    filename
    Path and file name
    Example
    This example uses the SaveHtmlRange method.
    fpSpread1.ActiveSheet.SaveHtmlRange(0, 0, 3, 3, true, true, false, "C:\\samples\\spreadrange.html");
    fpSpread1.ActiveSheet.SaveHtmlRange(0, 0, 3, 3, True, True, False, "C:\samples\spreadrange.html")
    See Also