Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.UI Namespace / UIHelper Class / GetAutoFillValue Method
The GrapeCity.Spreadsheet.IWorksheet object which is using autofill.
The selected cell range to create fill.
The target cell range addres.s
Specifies the fill type.
The number format of auto fill cell


In This Topic
    GetAutoFillValue Method
    In This Topic
    Get the autoFill value.
    Syntax
    'Declaration
     
    
    Public Shared Function GetAutoFillValue( _
       ByVal worksheet As IWorksheet, _
       ByVal sourceRange As Reference, _
       ByVal targetRange As Reference, _
       ByRef fillType As AutoFillType, _
       ByRef numberFormat As NumberFormat _
    ) As Object
    'Usage
     
    
    Dim worksheet As IWorksheet
    Dim sourceRange As Reference
    Dim targetRange As Reference
    Dim fillType As AutoFillType
    Dim numberFormat As NumberFormat
    Dim value As Object
     
    value = UIHelper.GetAutoFillValue(worksheet, sourceRange, targetRange, fillType, numberFormat)

    Parameters

    worksheet
    The GrapeCity.Spreadsheet.IWorksheet object which is using autofill.
    sourceRange
    The selected cell range to create fill.
    targetRange
    The target cell range addres.s
    fillType
    Specifies the fill type.
    numberFormat
    The number format of auto fill cell

    Return Value

    The value of autofill cell
    See Also