Code:
private void Button1_Click (object sender, System.EventArgs e)
{
Graphics g = this. CreateGraphics ();
G.clear (Color.White);
G.interpolationmode = Interpolationmode.highqualitybicubic;
g.compositingquality = compositingquality.highquality;
G.smoothingmode = smoothingmode.highquality;
int radius = 200;
Circulartextuallayout ctl = new Circulartextuallayout ();
Ctl. radius = radius;
Point location = new Point (50, 20);
Ctl. CenterPoint = new Point (location. X + radius, location. Y + radius);
Ctl. textdrawing = "Founder Yao Body founder Yao Body founder Yao Body";
float Arcangle = 270;
Ctl. Arcangle = Arcangle;
Ctl. Anglestart =-arcangle/2 + arcangle/2/ctl. Textdrawing.length;
Ctl. Textfontinner = new Font ("Founder Yao Body", radius/3.2f);
Ctl. Ratiox = 0.6f;
Ctl. BorderWidth = (int) (CTL. RADIUS/40);
Ctl. IsBold = false;
Ctl. Location = Location;
Ctl. Wordscolor = Color.FromArgb (color.red);
Ctl. BorderColor = Color.FromArgb (color.red);
Ctl. Rectcolor = Color.FromArgb (color.red);
Ctl. Draw (g);
G.dispose ();
}