Example #1
0
 // Print - draw the text...
 public void Draw(PrintEngine engine, float yPos, Graphics graphics, Rectangle elementBounds)
 {
     // draw it...
     graphics.DrawString(engine.ReplaceTokens(Text), engine.PrintFont,
     engine.PrintBrush, elementBounds.Left, yPos, new StringFormat());
 }