Is simple way to rotate text in stringgrid (90 and 45 degrees)? Or is there FREE component like TStringGrid with text rotation in cell?
You can use ZColorStringGrid component (free). Component have additional properties for each cells (text rotation, indent, color, alignment). Support multiline text (and can rotate multiline text) and merge cells.
Code sample:
ZColorStringGrid1.CellStyle[0, 1].Font.Name := 'Tahoma';
ZColorStringGrid1.CellStyle[0, 1].Font.Size := 12;
ZColorStringGrid1.CellStyle[0, 1].Rotate := 90;
ZColorStringGrid1.Cells[0, 1] := 'Rotate' + sLineBreak + 'text' + sLineBreak + '90 degrees';
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With