Spread for ASP.NET 7.0 Product Documentation
DefaultSheetStyleModel Constructor(Int32,Int32,NamedStyleCollection)
See Also  Support Options
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 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.