Creates a sheet (SheetView object) with the specified style collection.
Syntax
Parameters
- namedStyles
- NamedStyleCollection object to use
Example
C# | Copy Code |
---|
FarPoint.Web.Spread.NamedStyleCollection nsc = new FarPoint.Web.Spread.NamedStyleCollection();
FarPoint.Web.Spread.NamedStyle ns = new FarPoint.Web.Spread.NamedStyle("StyleData", "DataAreaDefault");
ns.BackColor = Color.Yellow;
nsc.Add(ns);
FarPoint.Web.Spread.SheetView sv = new FarPoint.Web.Spread.SheetView(nsc);
|
Visual Basic | Copy Code |
---|
Dim nsc As New FarPoint.Web.Spread.NamedStyleCollection
Dim ns As New FarPoint.Web.Spread.NamedStyle("StyleData", "DataAreaDefault")
ns.BackColor = Color.Yellow
nsc.Add(ns)
Dim sv As New FarPoint.Web.Spread.SheetView(nsc) |
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