I can't find example how to set the vertical orientation of a text in text box
I find how to rotate text in cell, but I need rotate text in text box
text box code
text = 'Some text in a textbox'
options = {
'font': {'color': 'white'},
'align': {'vertical': 'middle',
'horizontal': 'center',
},
'gradient': {'colors': ['red', 'blue']},
}
worksheet.insert_textbox(row, col, text, options)
code with rotation text in cell
cell_format = workbook.add_format()
cell_format.set_rotation(90)
worksheet.write(1, 1, 'This text is rotated')
worksheet.set_column(col, col, None, cell_format)
