Aspose::Cells::Cells::SetColumnWidth method

Cells::SetColumnWidth method

Sets the width of the specified column in normal view.

void Aspose::Cells::Cells::SetColumnWidth(int32_t column, double width)
ParameterTypeDescription
columnint32_tColumn index.
widthdoubleWidth of column in unit of characters.Column width must be between 0 and 255.

Remarks

For spreadsheet, column width is measured as the number of characters of the maximum digit width of the numbers 0~9 as rendered in the normal style’s font.

See Also