Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IWorksheet Interface / SaveAs Method


In This Topic
    SaveAs Method (IWorksheet)
    In This Topic
    Saves this IWorksheet to the specified System.IO.Stream.
    Syntax
    'Declaration
     
    
    Function SaveAs( _
       ByVal stream As Stream, _
       Optional ByVal fileFormat As FileFormat, _
       Optional ByVal password As String, _
       Optional ByVal options As ExportOptions _
    ) As Boolean
    'Usage
     
    
    Dim instance As IWorksheet
    Dim stream As Stream
    Dim fileFormat As FileFormat
    Dim password As String
    Dim options As ExportOptions
    Dim value As Boolean
     
    value = instance.SaveAs(stream, fileFormat, password, options)

    Parameters

    stream
    fileFormat
    password
    options
    See Also