Look at your code:
graph.DrawString(Convert.ToString(GroupBox1.CreateGraphics), font, ... , XStringFormats.Center)
The string you tell it to display is
Convert.ToString(GroupBox1.CreateGraphics)
which is just the default ToString implementation for the
Graphics
class. And since it doesn't override ToString, the
object
default ToString is used, which returns the full name of the object type:
System.Drawing.Graphics
You want to print actual Text? You have to locate the actual text inside the controls inside the GroupBox - and print that.
It doesn't know what you want, so it does it's best!