Method DrawRotatedText
DrawRotatedText(string, PointD, Font, Color, Color, double, GraphicsUnit)
Draws the rotated text 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
textstringText to draw.
locationPointDLocation used to draw the text. Specified in dips.
fontFontFont used to draw the text.
foreColorColorForeground color of the text.
backColorColorBackground color of the text. If parameter is equal to Empty, background will not be painted.
angledoubleText angle in degrees. Positive angles are counterclockwise; the full angle is 360 degrees.
unitGraphicsUnitGraphicsUnit 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.