ActiveReports 8
GetValue Method
See Also 
GrapeCity.ActiveReports.Export.Excel.v8 Assembly > GrapeCity.SpreadBuilder.Cells Namespace > DDCell Class : GetValue Method

Glossary Item Box

Returns the cell's current value.

Syntax

Visual Basic (Declaration) 
Public Function GetValue() As System.Object
C# 
public System.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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also