Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IWorkbook Interface / ApplyTheme Method / ApplyTheme(Stream) Method
A System.IO.Stream object indicates the theme data to apply.


In This Topic
ApplyTheme(Stream) Method
In This Topic
Applies the specified theme to the current workbook.
Syntax
'Declaration
 
Overloads Function ApplyTheme( _
   ByVal stream As Stream _
) As Boolean
 
'Usage
 
Dim instance As IWorkbook
Dim stream As Stream
Dim value As Boolean
 
value = instance.ApplyTheme(stream)

Parameters

stream
A System.IO.Stream object indicates the theme data to apply.

Return Value

true if the theme is loaded and applied successfully; otherwise, false.
See Also