private void Page_Load(object sender, System.EventArgs e)
{
  // Create instance of PhotoSprite
  Graphic MyGraphic = new PhotoSprite.Graphic();
  
  // Original image name
  MyGraphic.SourceFile = Server.MapPath( "images/demo.jpg" );
  // Destination image name, and can make the same as the original image name
  MyGraphic.DestFile   = Server.MapPath( "images/tmp/RotateText.jpg" );
  
  // Set the font property
  MyGraphic.FontFamily = "Arial";
  MyGraphic.FontSize   = 24;
  MyGraphic.FontColor  = "#FF0000";
  
  // Font weight:
  //   Bold, Italic, Strikeout, Underline, Regular
  MyGraphic.FontWeight = System.Drawing.FontStyle.Bold;
  
  // The transparency of the font color, which between 0 and 255
  MyGraphic.ColorAlpha = 128;
  
  // the X and Y coordinates of the arc center
  MyGraphic.X = 200;
  MyGraphic.Y = 140;
  
  // The circle radius
  MyGraphic.Radius = 120;
  
  // The text on the image
  string Text = "WWW.PHOTOSPRITE.NET";
  
  // The start angle
  int angleStart = 180;
  
  // The span angle which start from the start angle and 
  // rotate CW to the end position.
  int angleSpan = 180;
  
  // character direction
  //   0 - Along tangent
  //   1 - Centripetal
  //   2 - Against tangent
  //   3 - Centrifugal
  int direction = 1;
  
  // Drawing the water rotate text
  MyGraphic.RotateText( Text, angleStart, angleSpan, direction );
  
  
  // Show the contrastive effect
  SrcImage.Src = "images/demo.jpg";
  DstImage.Src = "images/tmp/RotateText.jpg";
}