drawTextRotation

Type: Integer

Availability: Read or write at run time only

The drawTextRotation property of the Window class specifies the angle, in degrees, between the base line of the text output and the x-axis of the form or control. For example, a value of 270 draws text upright down the form or control. The default value is 0 degrees.

This property, in conjunction with the drawTextCharRotation property, allows the output of non-horizontal left to right text.

Use this property only with the drawTextAt method, as the rotated text could be rotated outside the rectangle defined by the drawTextIn method.

The drawTextRotation property, together with the drawFontBold, drawFontStrikethru, drawFontItalic, drawFontName, drawFontSize, drawFontUnderline, and drawTextCharRotation properties, determines the font used for graphics text drawing methods.

The font that is used defaults to the application font defined by the fontName property of the Application class.