Aspose::Cells::Cell::SetStyle method

Cell::SetStyle(const Style&) method

Sets the cell style.

void Aspose::Cells::Cell::SetStyle(const Style &style)
ParameterTypeDescription
styleconst Style&The cell style.

Remarks

If the border settings are changed, the border of adjust cells will be updated too.

See Also

Cell::SetStyle(const Style&, bool) method

Apply the changed property of style to the cell.

void Aspose::Cells::Cell::SetStyle(const Style &style, bool explicitFlag)
ParameterTypeDescription
styleconst Style&The cell style.
explicitFlagboolTrue, only overwriting formatting which is explicitly set.

See Also

Cell::SetStyle(const Style&, const StyleFlag&) method

Apply the cell style based on flags.

void Aspose::Cells::Cell::SetStyle(const Style &style, const StyleFlag &flag)
ParameterTypeDescription
styleconst Style&The cell style.
flagconst StyleFlag&The style flag.

See Also