title: How to render PdfContentByte like chunk in iTextSharp
body: <p>In case of Chunk we could specify the text and the font which is to be used. For example we can set bold and font size in case of Chunk. While in case of PdfContentByte I am trying to set the text in bold for</p>
  
  <pre><code>PdfContentByte cb = writer.DirectContent;
  cb.ShowTextAligned(PdfContentByte.ALIGN_CENTER,"INVOICE",386,596, 0);
  </code></pre>
  
  <p>using </p>
  
  <pre><code>cb.SetTextRenderingMode(PdfContentByte.TEXT_RENDER_MODE_FILL_STROKE);
  </code></pre>
  
  <p>But the text being rendered is too Black, is there any way to render the text as that of Chunk to use a font like</p>
  
  <pre><code> Font contentBoldHead = FontFactory.GetFont("Arial-BoldMT", 14, Font.BOLD);
  </code></pre>
  
  <p>in the PdfContentByte.</p>
  
  <p>Any suggestions would be really helping.</p>