Spread for ASP.NET 7.0 Product Documentation
Reset(ICollection) Method
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > DefaultSkins Class > Reset Method : Reset(ICollection) Method


sheets
Array of sheets (SheetView objects)

Glossary Item Box

Resets the skin properties of an array of sheets to the default values.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Sub Reset( _
   ByVal sheets As ICollection _
) 
Visual Basic (Usage)Copy Code
Dim sheets As ICollection
 
DefaultSkins.Reset(sheets)
C# 
public static void Reset( 
   ICollection sheets
)

Parameters

sheets
Array of sheets (SheetView objects)

Exceptions

ExceptionDescription
System.ArgumentNullException No sheet collection specified or specified sheet collection is null

Example

This example resets the skin to its default values.
C#Copy Code
FarPoint.Web.Spread.DefaultSkins.Reset(FpSpread1.Sheets(0));
Visual BasicCopy Code
FarPoint.Web.Spread.DefaultSkins.Reset(FpSpread1.Sheets(0))

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.