drawTextCharRotation

Type: Real

Availability: Read or write at run time only

The drawTextCharRotation property of the Printer class specifies the angle, in degrees, between the base line and the x-axis of the device of each character. For example, a value of 90 draws the characters so that they are positioned on their side with their base parallel with the right hand edge of the page. The default value is 0 degrees.

This property, in conjunction with the drawTextRotation 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 drawTextCharRotation property, together with the drawFontBold, drawFontStrikethru, drawFontItalic, drawFontName, drawFontSize, drawTextRotation, 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.