Demos
The repository includes a demonstration app, SampleApp. Each demo builds one PDF and shows one
feature. Click a preview to open the PDF, Source to read the code that made it, and the last link
to read the guide for that feature.
Every PDF on this page is rebuilt from the current code each time the site is published.
To run the demos yourself, clone the repository and run these commands from its root:
dotnet run --project src/SampleApp -- list
dotnet run --project src/SampleApp -- run
dotnet run --project src/SampleApp -- run --example Fonts Text
list shows every demo and what it covers. run writes one PDF per demo into output/, and prints
the source of each one first. Use --example to run only some demos, and --no-code to hide the
source.



Unicode
WinAnsi against Unicode encoding, and how each face is embedded.

International
Right-to-left order, complex-script shaping, and font fallback.





Vectors
Every shape XGraphics draws, and the pens, brushes and transforms behind them.





PageResize
Shrinking a finished document, links and destinations with it.

Bleed
A photograph bled off three edges of a page that will be trimmed.

Assemble
Merge, import, reorder, duplicate, split, prune and consolidate.

Imposition
XForm and XPdfForm - stamps, watermarks, two-up and a booklet sheet.

Protect
An encrypted document: two passwords, eight permissions, and the way back in.
Open it with the password open-me.

Signing
A signed PDF, the hole its signature lives in, and what verifying it proves.

Navigation
Page labels, viewer preferences, layout, language and private data.



Archive
PDF/A conformance, the XMP packet, and the refusals that enforce the claim.

FacturX
A ZUGFeRD / Factur-X invoice: PDF/A-3 with its own XML inside it.


Revise
Incremental update: three revisions in one file, none of them overwritten.





Structure
PinataLayout's TOC, automatic bookmarks, sections, lists and cross-references.

Accessibility
Tagged output, and a PDF/UA-1 claim that is enforced rather than stamped on.


Ddl
A document written to PinataLayout DDL, read back, and rendered from the copy.




SideWrap
Text flowing beside a shape, on each of the four wrap styles.