ActiveReports 11
GetValue Method (DDCell)

GrapeCity.ActiveReports.Export.Excel.v11 Assembly > GrapeCity.SpreadBuilder.Cells Namespace > DDCell Class : GetValue Method
Returns the cell's current value.
Syntax
'Declaration
 
Public Function GetValue() As Object
public object GetValue()

Return Value

The return type is one of the following:

  • Null reference (for CellTypes.Blank)
  • System.String (for CellTypes.Label)
  • System.Double (for CellTypes.Number)
  • A value in the BiffCellBoolErrValues enumeration (for CellTypes.BoolErr)

Use DDCell's Type property to determine the type of the cell before returning the value, or check the type of the returned value.

See Also

Reference

DDCell Class
DDCell Members
BiffCellBoolErrValues Enumeration
Type Property