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


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
Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

SheetSkin Class
SheetSkin Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.