Gets the built-in skin at the specified index.
Syntax
Parameters
- index
- Zero-based index in array that specifies the location of the SheetSkin object
Return Value
SheetSkin object containing the skin in the collection with the specified name, or null if no skin is found
Exceptions
Exception | Description |
System.IndexOutOfRangeException |
Specified index is out of range; must be between zero and the total number of built-in (default) skins
|
Example
This example gets the specified skin in the collection from the specified index and applies it to the sheet.
C# | Copy Code |
---|
FarPoint.Web.Spread.DefaultSkins ds = new FarPoint.Web.Spread.DefaultSkins();
FarPoint.Web.Spread.SheetSkin sk;
sk = ds.GetAt(2);
sk.Apply(FpSpread1);
|
Visual Basic | Copy Code |
---|
Dim ds As New FarPoint.Web.Spread.DefaultSkins
Dim sk As FarPoint.Web.Spread.SheetSkin
sk = ds.GetAt(2)
sk.Apply(FpSpread1) |
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