How to use the Tab, Carriage Return - Line Feed characters in PDFThe following code sample uses the AddText method with special characters. c# sample: PDFDocument MyPDF = new PDFDocument("SpecialChcracters.pdf"); MyPDF.CurrentPage.Body.SetActiveFont("Tahoma", PDFFontStyles.Regular, 12, Charset.Unicode); MyPDF.CurrentPage.Body.AddText("\t First line with tab character.\r\nSecond line."); MyPDF.Save(); |
PDF .NET Library for .NET Software Developers - PDF Component Library for C#, VB.NET and ASP.NET developers Copyright © PDF Technologies Inc., 2013. |