Aspose::Cells::ReferredArea::GetValue method

ReferredArea::GetValue(int32_t, int32_t) method

Gets cell value with given offset from the top-left of this area.

Aspose::Cells::Object Aspose::Cells::ReferredArea::GetValue(int32_t rowOffset, int32_t colOffset)
ParameterTypeDescription
rowOffsetint32_trow offset from the start row of this area
colOffsetint32_tcolumn offset from the start row of this area

ReturnValue

“#REF!” if this area is invalid; “#N/A” if given offset out of this area; Otherwise return the cell value at given position.

See Also

ReferredArea::GetValue(int32_t, int32_t, bool) method

Gets cell value with given offset from the top-left of this area.

Aspose::Cells::Object Aspose::Cells::ReferredArea::GetValue(int32_t rowOffset, int32_t colOffset, bool calculateFormulas)
ParameterTypeDescription
rowOffsetint32_trow offset from the start row of this area
colOffsetint32_tcolumn offset from the start row of this area
calculateFormulasboolWhether calculate it recursively if the specified reference is formula

ReturnValue

“#REF!” if this area is invalid; “#N/A” if given offset out of this area; Otherwise return the cell value at given position.

See Also