private void DrawRotatedString(Graphics g, string text, Font font, Brush br, Rectangle rect, StringFormat format, float angle)
{
Point center = new Point(rect.X + rect.Width / 2, rect.Y + rect.Height / 2);
g.FillRectangle(Brushes.White, new Rectangle(center.X - rect.Height / 2, center.Y - rect.Width / 2, rect.Height, rect.Width));
g.TranslateTransform(center.X, center.Y);
g.RotateTransform(angle);
rect.Offset(-center.X, -center.Y);
g.DrawString(text, font, br, rect, format);
g.ResetTransform();
}
你可以试试这个,我以前项目里用过的
楼上。。。可以一试