Objective Grid: Drawing rotated text in cells

Article ID: 425
Last updated: 27 Apr, 2018
Article ID: 425
Last updated: 27 Apr, 2018
Revision: 3
Views: 1742
Posted: 11 Jan, 2001
by Meltreger B.
Updated: 27 Apr, 2018
by Meltreger B.

Problem

 


How do I draw rotated text in cells?

 

 


Cause

 


 

 


Action

 


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"))
);

This article was:   Helpful | Not helpful
Report an issue
Article ID: 425
Last updated: 27 Apr, 2018
Revision: 3
Views: 1742
Posted: 11 Jan, 2001 by Meltreger B.
Updated: 27 Apr, 2018 by Meltreger B.

Others in this category