Rajagopalan R V

Rajagopalan R V

  • NA
  • 336
  • 70.3k

How to Set Back Ground or Font Color in ASP.NET C#

Aug 26 2014 3:36 AM
Hi Friends.,

Am Exporting Grid View to PDF Using ITextSharp in ITextSharp i Can Change Font Color But i Need to Do in Direct Grid view to pdf in This i need to Change Back Ground or Font Color

I'Ve Used  

 GridView1.HeaderRow.Cells[i].ControlStyle.Font.Size = 15;

to Change Font Size it's Changing Font Size, but Same as Color Mention Below is Not Working

  GridView1.HeaderStyle.BackColor = System.Drawing.Color.Orange;

Without ITextSharp i need to Change Font Color or Background Color in PDF Doc.

With Regards....,
R.V.Rajagopalan



Answers (2)