Aspose::Cells::CellValue::SetValue method
CellValue::SetValue method
Gets/sets the cell value.
void Aspose::Cells::CellValue::SetValue(const Aspose::Cells::Object &value)
Remarks
The value must be of the correct type of object corresponding to the Type:
Type | Value |
---|---|
CellValueType.IsNull | null, any other object will be ignored |
CellValueType.IsNumeric | double |
CellValueType.IsDateTime | DateTime |
CellValueType.IsString | string |
CellValueType.IsBool | bool |
CellValueType.IsError | error string such as “#VALUE!”, “#NAME?”, … |
See Also
- Class Vector
- Class Object
- Class CellValue
- Namespace Aspose::Cells
- Library Aspose.Cells for C++