Copyright © 1998-2010 MultiMedia Soft

TextDescriptor.Angle property

Previous pageReturn to chapter overviewNext page

Type

short for Visual C++

integer for Visual Basic

 

 

Syntax

object.TextDescriptor.Angle [=integer]

or

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

 

 

Remarks

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.

3dabm_i000052

 

 

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.