Copyright © 1998-2010 MultiMedia Soft

TextDescriptor.Angle property

Previous pageReturn to chapter overviewNext page


short for Visual C++

integer for Visual Basic




object.TextDescriptor.Angle [=integer]


object.CellsManager.TextDescriptor(UniqueID).Angle [=integer]




Text rotation angle.

This property value, whose default value is 0 degrees, can range from -180 to 180 degrees; entering an out of bounds value will cause the control to reset the value to the nearest in-bound value.

The rotation angle cannot be set if the Style property is set to STYLE_FRAME.

Below you can see a sample of a button with a -30 degrees angle applied to the caption text.




See also

TextDescriptor object.

TextDescrCaption, TextDescrLT, TextDescrCT, TextDescrRT, TextDescrLM, TextDescrRM, TextDescrLB, TextDescrCB, and TextDescrRB properties.

How to put text over the button section.

How to manage cells section.