Method DrawRotatedText
DrawRotatedText(string, PointD, Font, Color, Color, double, GraphicsUnit)
Draws the text rotated by angle degrees (positive angles are counterclockwise; the full angle is 360 degrees) with the specified font, background and foreground colors.
public abstract void DrawRotatedText(string text, PointD location, Font font, Color foreColor, Color backColor, double angle, GraphicsUnit unit = GraphicsUnit.Dip)
Parameters
text
stringText to draw.
location
PointDLocation used to draw the text. Specified in dips.
font
FontFont used to draw the text.
foreColor
ColorForeground color of the text.
backColor
ColorBackground color of the text. If parameter is equal to Empty, background will not be painted.
angle
doubleText angle.
unit
GraphicsUnitGraphicsUnit 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.