Spread for ASP.NET 11 Product Documentation
Load(String) Method
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetSkin Class > Load Method : Load(String) Method
Path and file name from which to load the skin
Loads a skin from a file.
Syntax
'Declaration
 
Public Overloads Shared Function Load( _
   ByVal fileName As String _
) As SheetSkin
'Usage
 
Dim fileName As String
Dim value As SheetSkin
 
value = SheetSkin.Load(fileName)
public static SheetSkin Load( 
   string fileName
)

Parameters

fileName
Path and file name from which to load the skin

Return Value

SheetSkin object containing the skin
Example
This example loads a skin from a string.
FarPoint.Web.Spread.SheetSkin sk;
if (IsPostBack)
{
    sk.Load("D:\\skinsave.skn").Apply(FpSpread1);
}
Dim sk As FarPoint.Web.Spread.SheetSkin
If IsPostBack Then
    sk.Load("D:\skinsave.skn").Apply(FpSpread1)
End If
See Also

Reference

SheetSkin Class
SheetSkin Members
Overload List