get_value method

get_value

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

Returns

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

def get_value(self, row_offset, col_offset):
    ...
ParameterTypeDescription
row_offsetintrow offset from the start row of this area
col_offsetintcolumn offset from the start row of this area

get_value

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

Returns

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

def get_value(self, row_offset, col_offset, calculate_formulas):
    ...
ParameterTypeDescription
row_offsetintrow offset from the start row of this area
col_offsetintcolumn offset from the start row of this area
calculate_formulasboolWhether calculate it recursively if the specified reference is formula

See Also