A set of .NET Framework managed libraries for developing graphical user interfaces.
Did you see the various samples, like
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Good day,
Is there one better example to create PDF file? I used code below and PDF file then is empty (cannot be opened).
PdfWriter pdfWriter = new PdfWriter("f:\l0\A0.pdf");
PdfDocument pdfD0 = new PdfDocument(pdfWriter);
Document D0 = new Document(pdfD0);
A set of .NET Framework managed libraries for developing graphical user interfaces.
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
Did you see the various samples, like
Sir,
Can you see this if available?
Sorry, other than the following, is there one full example to do update into every position of the page?
Document D0 = new Document(pdfD0, PageSize.A4); D0.SetMargins(40, 40, 40, 40); Paragraph paragraph = new Paragraph(new Text("testing b\n")); paragraph.SetFixedPosition(10, 50, 210); paragraph.SetBorder(new iText.Layout.Borders.SolidBorder(2)); D0.Add(paragraph);
Thanks a lot.
Last issue is, what should be the size same as one A4 paper size? How to adjust the following to have A4 paper size?
Document D0 = new Document(pdfD0, new PageSize(900f, 670f));
Thanks to all.
Is there example/details to put text at specific position within PDF file? And example to create rectangle in that.