Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Placing the text vertically using CExtLabel Collapse All
Subject Author Date
Alexey Babenko Dec 17, 2010 - 2:49 AM

Dear Support,
Can I set the text vertically using CExtLabel or some other classes?

Alexey Babenko Dec 20, 2010 - 1:30 AM

Thanks a lot !

Technical Support Dec 17, 2010 - 1:03 PM

This is not supported at this moment. But you can create your own CExtLabel-derived class, override the CExtLabel::OnDrawLabelText() virtual method and draw plain text and/or HTML with any 90° rotation using the CExtRichContentLayout::stat_DrawText() API version the eLFMT parameter. You can see rotated text/HTML painted by the CExtRichContentLayout::stat_DrawText() API in the RichContentFeatures sample application.

Alexey Babenko Dec 20, 2010 - 1:30 AM

Thanks a lot !