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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also