I want to create a PDF file for an account, I used iTextSharp DLL, and I can successfully create a PDF file. I am using Visual C # .NET with ASP.NET.
The problem is that I want to put the Information heading on the left side, and then the corresponding information on this information heading on the right side. For instance:
<blink> First Name: John Marshal Address: Missouri Street: Honolulu 23rd </blink>
Here I call "Name, Address, Street" as an information heading and "John Marshall, Missouri, Honolulu 23" as information.
Is there any decision to put all these elements in line so that the score becomes presentable and meaningful. Although I used spaces to create this formatting as shown below: -
document.Add(new Paragraph(" CROWN SERVICE LIMITED", new Font(Font.BOLD, 25))); document.Add(new Paragraph (" John Marshal ", new Font(Font.BOLD, 20))); document.Add(new Paragraph (" Missouri Honolulu 23rd", new Font(Font.BOLD, 20)));
Although I tried to use the image on the background of the PDF, but it still does not fit.
I think there might be some kind of resolution by converting the data to XML, if possible, let me know.
source share