Search code examples
c#.netwinformsprintdocumentdrawingbrush

How to increase the darkness of the text when printing in Win Form in C#


I'm trying to print a document in C#. However, the Black color of the text isn't good. It's dim. How can I adjust the quality of the text color in order to make it darker and clearer? Here is my code :

 Font font = new Font("Courier New", 18);
 SolidBrush brush = new SolidBrush(Color.Black);

 graphic.DrawString(DateTime.Now.ToString("dd/MM/yy"), font, brush,10,10);

Any help is appreciated ! Thanks !


Solution

  • Instead of using Courier New, use another font like Arial Black or Copperplate Gothic Bold