drawTextRotation

Type: Real

Availability: Read or write at run time only

The drawTextRotation property of the Printer class specifies the angle, in degrees, between the base line of the text output and the x-axis of the page. For example, a value of 270 draws text upright down the page. 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, drawTextCharRotation, and drawFontUnderline properties, determines the font used for printer graphics text drawing methods. The font used defaults to the application font defined by the fontName property of the Application class.

For details about placing output directly on a printer page at any location without the use of frames and drawing rotated text and characters, see "Free-Format Printing", later in this chapter.