Make the text Italic

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Generator for .NET (v4)  /  Make the text Italic

DynamicPDF Generator for .NET (v4) Forum

 Aug 31 2009 6:06 AM
Hi All,


I have added a lable. Now i want to make the text of the lable italic. How to achieve this.

Thanks in advance
-Sumit
 Aug 31 2009 6:50 AM
Posted by a ceTe Software moderator
Hello Sumit,

Yes, you can add italic text to the PDF document without any problem. You will have to use the FormattedTextArea for this which can take the <i> (Italics) tag. You can refer to the supported HTML tags on our help documentation.

You can also use the true type or open type fonts which adds italic text. Please refer to the Fonts on our help documentation.

If you want the TimesItalic then you can use this with a label by using the TimesItalic font.

   Label label = new Label("Times Italic Text", 100, 100, 100, 20);
   label.Font = Font.TimesItalic;

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 1:39 AM.