How to draw rotated text in cells

Use the new CGXFont::SetOrientation attribute to display rotated text in cells.

Example:

  SetStyleRange(CGXRange(1, 1), CGXStyle()
    .SetFont( CGXFont().SetSize(12).SetBold(TRUE).SetOrientation(-900) )
    .SetValue(_T("TEST"))
   );