'右对齐 Dim al As New System.Drawing.StringFormat al.Alignment = StringAlignment.Far G.DrawString("测试文字", New Font("宋体", 12, FontStyle.Regular, GraphicsUnit.Pixel), Brushes.Yellow, New Point(0, 0), al)