Graphics-Draw a string


 

private void button1_Click(object sender, EventArgs e)

{

    using (Graphics myDrawGrapphicString = this.CreateGraphics())

    {

        myDrawGrapphicString.DrawString("Ghanashyam Nayak", new System.Drawing.Font("Arial", 30), new SolidBrush(Color.Red), new Point(12, 12), new StringFormat());

    }

}


Next Recommended Reading How to create 7 segment by graphic?