Spread for ASP.NET 12 Product Documentation
CreateDataModel Method (LayoutTemplate)


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > LayoutTemplate Class : CreateDataModel Method
Integer number of rows
Integer number of columns
Creates a data model for the layout template.
Syntax
'Declaration
 
Protected Overridable Function CreateDataModel( _
   ByVal rowCount As Integer, _
   ByVal colCount As Integer _
) As ISheetDataModel
'Usage
 
Dim instance As LayoutTemplate
Dim rowCount As Integer
Dim colCount As Integer
Dim value As ISheetDataModel
 
value = instance.CreateDataModel(rowCount, colCount)
protected virtual ISheetDataModel CreateDataModel( 
   int rowCount,
   int colCount
)

Parameters

rowCount
Integer number of rows
colCount
Integer number of columns

Return Value

ISheetDataModel
See Also

Reference

LayoutTemplate Class
LayoutTemplate Members