Aspose::Cells::Range::PutValue method

Range::PutValue(const U16String&, bool, bool) method

Puts a value into the range, if appropriate the value will be converted to other data type and cell’s number format will be reset.

void Aspose::Cells::Range::PutValue(const U16String &stringValue, bool isConverted, bool setStyle)
ParameterTypeDescription
stringValueconst U16String&Input value
isConvertedboolTrue: converted to other data type if appropriate.
setStyleboolTrue: set the number format to cell’s style when converting to other data type

See Also

Range::PutValue(const char16_t*, bool, bool) method

Puts a value into the range, if appropriate the value will be converted to other data type and cell’s number format will be reset.

void Aspose::Cells::Range::PutValue(const char16_t *stringValue, bool isConverted, bool setStyle)
ParameterTypeDescription
stringValueconst char16_t*Input value
isConvertedboolTrue: converted to other data type if appropriate.
setStyleboolTrue: set the number format to cell’s style when converting to other data type

See Also