Create PDF documents and reports with just a few lines of Java or C# code:
| Java | C# |
PDF pdf = new PDF();
Font f1 = new Font(pdf, "Helvetica-Bold");
Font f2 = new Font(pdf, "Helvetica");
Page page = new Page(pdf, Letter.PORTRAIT);
Table table = new Table(f1, f2);
table.setData(
"data/world-communications.txt",
"|",
Table.DATA_HAS_2_HEADER_ROWS);
table.autoAdjustColumnWidths();
table.removeLineBetweenRows(0, 1);
table.rightAlignNumbers();
table.setTextColorInRow(6, RGB.RED);
table.drawOn(page);
pdf.wrap();
pdf.save("Example_08.pdf");
|
PDF pdf = new PDF();
Font f1 = new Font(pdf, "Helvetica-Bold");
Font f2 = new Font(pdf, "Helvetica");
Page page = new Page(pdf, Letter.PORTRAIT);
Table table = new Table(f1, f2);
table.SetData(
"data/world-communications.txt",
"|",
Table.DATA_HAS_2_HEADER_ROWS);
table.AutoAdjustColumnWidths();
table.RemoveLineBetweenRows(0, 1);
table.RightAlignNumbers();
table.SetTextColorInRow(6, RGB.RED);
table.DrawOn(page);
pdf.Wrap();
pdf.Save("Example_08.pdf");
|
|
|
PDFjet is Your Best Option for Web Based Reporting. Why?
- Leverage the precision of PDF. Reports and forms look just as you designed them.
- Royalty-free licensing for server or workstation applications.
- Easy to learn 100% Object-Oriented API saves development time.
- Generate PDF documents and reports using a single library across platforms and languages.
- Solid International and Unicode Support.
- High level components for common tasks including multi-page reports, charting and flexible column formatting let you focus on the needs of your users - instead of on the low level technical details.
- Built-in support for Code 128 and PDF417 barcodes let you avoid barcode fonts licensing issues.
- The basic PDF library is available under a BSD-style Open Source License.
- See the full benefits of PDFjet for Java and PDFjet for .NET.
© 2007, 2008 Innovatics Inc.
