Spread ASP.NET 6.0 Product Documentation
DefaultSheetStyleModel Constructor(Int32,Int32,NamedStyleCollection)
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > DefaultSheetStyleModel Class > DefaultSheetStyleModel Constructor : DefaultSheetStyleModel Constructor(Int32,Int32,NamedStyleCollection)


rowCount
Number of rows in the model
columnCount
Number of columns in the model
namedStyles
NamedStyleCollection collection for the style model

Glossary Item Box

Creates a style model (DefaultSheetStyle model object) with the specified number of rows and columns and named styles collection.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal rowCount As Integer, _
   ByVal columnCount As Integer, _
   ByVal namedStyles As NamedStyleCollection _
)
Visual Basic (Usage)Copy Code
Dim rowCount As Integer
Dim columnCount As Integer
Dim namedStyles As NamedStyleCollection
 
Dim instance As New DefaultSheetStyleModel(rowCount, columnCount, namedStyles)
C# 
public DefaultSheetStyleModel( 
   int rowCount,
   int columnCount,
   NamedStyleCollection namedStyles
)

Parameters

rowCount
Number of rows in the model
columnCount
Number of columns in the model
namedStyles
NamedStyleCollection collection for the style model

Remarks

Initializes an instance of the DefaultSheetStyleModel class, and specifies the number of rows and columns in the model and the named styles collection.

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

© 2002-2012 GrapeCity, Inc. All Rights Reserved.