Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.CalcEngine Namespace / FormattedCellValue Class / Create Method
The current workbook.
The actual cell value.
The number format of cell.


In This Topic
    Create Method (FormattedCellValue)
    In This Topic
    Creates a cell value that contains both of value and number format.
    Syntax
    'Declaration
     
    
    Public Shared Function Create( _
       ByVal workbook As IWorkbook, _
       ByVal value As Object, _
       ByVal numFmt As String _
    ) As FormattedCellValue
    'Usage
     
    
    Dim workbook As IWorkbook
    Dim value As Object
    Dim numFmt As String
    Dim value As FormattedCellValue
     
    value = FormattedCellValue.Create(workbook, value, numFmt)

    Parameters

    workbook
    The current workbook.
    value
    The actual cell value.
    numFmt
    The number format of cell.

    Return Value

    The FormattedCellValue object represents the formatted cell value.
    See Also