Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / LayoutTemplate Class / CreateDataModel Method
Integer number of rows
Integer number of columns


In This Topic
    CreateDataModel Method (LayoutTemplate)
    In This Topic
    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