Spread for ASP.NET 9.0 Product Documentation
GetAt Method
Example 


Zero-based index in array that specifies the location of the SheetSkin object
Gets the built-in skin at the specified index.
Syntax
'Declaration
 
Public Shared Function GetAt( _
   ByVal index As Integer _
) As SheetSkin
'Usage
 
Dim index As Integer
Dim value As SheetSkin
 
value = DefaultSkins.GetAt(index)
public static SheetSkin GetAt( 
   int index
)

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
ExceptionDescription
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.
FarPoint.Web.Spread.DefaultSkins ds = new FarPoint.Web.Spread.DefaultSkins();
FarPoint.Web.Spread.SheetSkin sk;
sk = ds.GetAt(2);
sk.Apply(FpSpread1);
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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

DefaultSkins Class
DefaultSkins Members

 

 


Copyright © GrapeCity, inc. All rights reserved.