Examples
Live PDFs generated by the same code that ships in
Ego.PDF.Samples. The advanced exhibits come
first — brand-coloured technical reports, mixed-mode
Markdown, ZPL emulation, the barcode catalogue and the
layered invoice variants. The original FPDF tutorial set
sits at the bottom for parity with the source project.
Advanced
| Sample | What it shows | Download |
|---|---|---|
| Photovoltaic acceptance report |
Three-page commissioning report for a residential solar
installation: brand header band, auto-growing
identification grid (CellMeasure), three
DC/AC/Protections panels (PanelStyle),
hand-drawn unifilar schematic, per-string measurement
table with OK/NOK badges, compliance checklist,
thermography grid, photo gallery.
|
PV report |
| Form & data table |
Fluent TableRow / TableCell API
end-to-end: a pen-and-ink application form (heterogeneous
rows, label-on-top / value-below pairs sharing borders via
Borders.All & ~Borders.Bottom +
~Borders.Top, wrapping DOMICILIO,
date / place / signature row with ink space) followed by a
data table whose loop calls row.Measure
before each row and forces a page break + header reprint
when the next row + the TOTAL wouldn't fit.
|
Form & table |
| Markdown to PDF |
Mixed-mode document: imperative brand header band on top,
Markdown body below. Headings, lists (tight spacing),
fenced code blocks (with wrapping), block quote,
horizontal rules, plus the shortcode extension for
[[barcode]], [[cta]],
[[image]] and [[imagepair]].
|
Markdown demo |
| Zebra ZPL emulation |
EgoPDF.Barcodes.Zpl.PdfZpl parses ZPL II
streams and renders them to PDF: text + fonts, ^GB
rectangles, ^GFA bitmaps, ^FB
wrapped text fields, every barcode command routed through
ZXing.
|
Label 1 — horizontal shipping Label 2 — vertical (portrait) shipping Label 3 — courier portrait (rotated columns, ^AV* condensed, vertical I2of5) Label 4 — barcode catalogue (^BC / ^B3 / ^B2 / ^BK / ^BE / ^B8 / ^BU / ^BM / ^BQ / ^BX / ^B7 / ^BO) Label 5 — ^FR text reverse (white text over a black ^GB rect) |
| Barcode gallery |
Two-column layout (Row(bounds, [2, 1], gap))
showcasing every 1D and 2D symbology
BarcodeRenderer ships: Code 128, Code 39, Code 93,
Interleaved 2 of 5, Codabar, EAN-13, EAN-8, UPC-A, plus QR
Code, Data Matrix, PDF417 and Aztec.
|
Barcode gallery |
| Invoice variants |
Three takes on the same invoice content: coloured header
band, minimalist monochrome, modular cards. Demonstrates
Row for column layouts and the shared
EgoPdfBrand wordmark.
|
Coloured header Minimalist Modular cards (PanelStyle) |
FPDF tutorial parity
The seven samples of the original
FPDF tutorial,
ported and rendered through EgoPDF.Generator. Useful as a
smoke test against the source project's behaviour.
| Original FPDF tutorial | egoPdf implementation | |
|---|---|---|
| Sample 1. Minimal example | Tutorial 1 | Tutorial 1 |
| Sample 2. Header, footer, page break, image | Tutorial 2 |
PNG image PNG with alpha channel JPG image |
| Sample 3. Line breaks and colors | Tutorial 3 | Tutorial 3 |
| Sample 4. Multi-columns | Tutorial 4 | Tutorial 4 |
| Sample 5. Tables | Tutorial 5 | Tutorial 5 |
| Sample 6. Links and flowing text | Tutorial 6 | Tutorial 6 |
| Sample 7. Adding new fonts | Tutorial 7 | Tutorial 7 |