ChartDirector 5.1 (PHP Edition)

TextBox.setFontAngle


Usage

setFontAngle(angle [, vertical ])

Description

Sets the rotation angle and layout direction of the text.

See Font Specification for details on various font attributes.

Arguments

ArgumentDefaultDescription
angle(Mandatory)The text rotation angle. Rotation is measured in counter-clockwise direction in degrees.
verticalfalse (zero)Determine if the font is layout horizontally (from left to right) or vertically (from top to down). Vertical layout is common for Oriental languages such as Chinese, Japanese and Korean. A true (non-zero) value means vertical layout. A false (zero) value means horizontal layout.

Return Value

None