@brief Set the rotation of the text in a cell.
@param format Pointer to a Format instance. @param angle Rotation angle in the range -90 to 90 and 270.
Set the rotation of the text in a cell. The rotation can be any angle in the range -90 to 90 degrees:
@code format = workbook_add_format(workbook); format_set_rotation(format, 30);
worksheet_write_string(worksheet, 0, 0, "This text is rotated", format); @endcode
@image html format_font_text_rotated.png
The angle 270 is also supported. This indicates text where the letters run from top to bottom.
See Implementation
@brief Set the rotation of the text in a cell.
@param format Pointer to a Format instance. @param angle Rotation angle in the range -90 to 90 and 270.
Set the rotation of the text in a cell. The rotation can be any angle in the range -90 to 90 degrees:
@code format = workbook_add_format(workbook); format_set_rotation(format, 30);
worksheet_write_string(worksheet, 0, 0, "This text is rotated", format); @endcode
@image html format_font_text_rotated.png
The angle 270 is also supported. This indicates text where the letters run from top to bottom.