FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class > SheetView Constructor : SheetView Constructor(NamedStyleCollection) |
'Declaration Public Function New( _ ByVal namedStyles As NamedStyleCollection _ )
'Usage Dim namedStyles As NamedStyleCollection Dim instance As New SheetView(namedStyles)
public SheetView( NamedStyleCollection namedStyles )
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);
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)
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