Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / SparklineGroup Class / TryExtractDataRange Method
The worksheet.
An integer value indicates the row index.
An integer value indicates the column index.
The expression.
The data range.
The data named range.


In This Topic
TryExtractDataRange Method
In This Topic
Extract data range of sparkline group.
Syntax
'Declaration
 
Public Shared Function TryExtractDataRange( _
   ByVal worksheet As Worksheet, _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal expression As Expression, _
   ByRef dataRange As WorksheetReference, _
   ByRef dataNamedRange As DefinedName _
) As Boolean
 
'Usage
 
Dim worksheet As Worksheet
Dim row As Integer
Dim column As Integer
Dim expression As Expression
Dim dataRange As WorksheetReference
Dim dataNamedRange As DefinedName
Dim value As Boolean
 
value = SparklineGroup.TryExtractDataRange(worksheet, row, column, expression, dataRange, dataNamedRange)

Parameters

worksheet
The worksheet.
row
An integer value indicates the row index.
column
An integer value indicates the column index.
expression
The expression.
dataRange
The data range.
dataNamedRange
The data named range.

Return Value

true if the specified expression represents data range of sparkline group; otherwise, false.
See Also