[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Graphics' (#lcl)

# TFont.Orientation

Rotation for the current font in 1/10ths of a degree.

## Declaration

Source position: graphics.pp line 579

`published property TFont.Orientation : Integer read GetOrientation write SetOrientation default 0;`

## Description

Orientation is an Integer property which contains the rotation angle used for text in 1/10ths of a degree. The rotation angle is determined by the relationship between the X Axis for the Canvas and the baseline for the font, and uses the following directions:

Orientation Values and Directions
0 | Text is drawn horizontally from left to right.
900 | Text is drawn vertically from bottom to top.
1800 | Text is drawn upside down from right to left.
2700 | Text is drawn vertically from top to bottom.

Setting a new value for the property causes the font Reference to be re-created, and calls Changes to signal the OnChange event handler (when assigned).

The default value for the property is 0 (zero).