Method DrawRotatedText
DrawRotatedText(string, PointD, Font, Color, Color, double, GraphicsUnit)
Draws the rotated text with the specified font, background and foreground colors.
public override void DrawRotatedText(string text, PointD location, Font font, Color foreColor, Color backColor, double angle, GraphicsUnit unit = GraphicsUnit.Dip)Parameters
- textstring
- Text to draw. 
- locationPointD
- Location used to draw the text. Specified in dips. 
- fontFont
- Font used to draw the text. 
- foreColorColor
- Foreground color of the text. 
- backColorColor
- Background color of the text. If parameter is equal to Empty, background will not be painted. 
- angledouble
- Text angle in degrees. Positive angles are counterclockwise; the full angle is 360 degrees. 
- unitGraphicsUnit
- GraphicsUnit that determines the unit of measure for the point parameter. 
Remarks
Notice that, as with other draw text methods, the text can contain multiple lines separated by the new line('\n') characters.