hi,
How i will set the font name to verdana- bold and size to 10, i have written this but not worked
row1.DefaultCellTextInfo.FontName="Verdana-Bold";
row1.DefaultCellTextInfo.FontSize=10;
Thanks
Rakesh
hi,
How i will set the font name to verdana- bold and size to 10, i have written this but not worked
row1.DefaultCellTextInfo.FontName="Verdana-Bold";
row1.DefaultCellTextInfo.FontSize=10;
Thanks
Rakesh
Hello Rakesh,
Please try the following code lines to achieve your desired results.
row22.DefaultCellTextInfo.FontName = "Verdana";
row22.DefaultCellTextInfo.IsTrueTypeFontBold = true; // Use this property to get the desired font effect
row22.DefaultCellTextInfo.FontSize = 20;
But, before you set the font property to Bold or Italic, make sure that the Bold or Italic version of specific font is installed over machine or not. In this case make sure "Verdana Bold" is installed over machine.