Directories
¶
| Path | Synopsis |
|---|---|
|
assets
|
|
|
examples/addpage
command
Package main demonstrates adding pages explicitly, so content starts on a fresh page.
|
Package main demonstrates adding pages explicitly, so content starts on a fresh page. |
|
examples/autorow
command
Package main demonstrates rows that take their height from the content inside them.
|
Package main demonstrates rows that take their height from the content inside them. |
|
examples/background
command
Package main demonstrates drawing a full-page background image behind the content.
|
Package main demonstrates drawing a full-page background image behind the content. |
|
examples/barcodegrid
command
Package main demonstrates placing Code 128 barcodes across a grid of columns.
|
Package main demonstrates placing Code 128 barcodes across a grid of columns. |
|
examples/billing
command
Package main demonstrates a complete invoice: header, line-item table, and totals.
|
Package main demonstrates a complete invoice: header, line-item table, and totals. |
|
examples/bookmark
command
Package main demonstrates PDF outline bookmarks: text components with an Outline prop appear in the PDF viewer's bookmark sidebar.
|
Package main demonstrates PDF outline bookmarks: text components with an Outline prop appear in the PDF viewer's bookmark sidebar. |
|
examples/cellstyle
command
Package main demonstrates styling individual cells with fills, borders, and padding.
|
Package main demonstrates styling individual cells with fills, borders, and padding. |
|
examples/checkbox
command
Package main demonstrates checkbox components with and without labels.
|
Package main demonstrates checkbox components with and without labels. |
|
examples/compression
command
Package main demonstrates turning content-stream compression on and off.
|
Package main demonstrates turning content-stream compression on and off. |
|
examples/customdimensions
command
Package main demonstrates a page sized in millimetres instead of a named page size.
|
Package main demonstrates a page sized in millimetres instead of a named page size. |
|
examples/customfont
command
Package main demonstrates registering a TrueType font and drawing UTF-8 text with it.
|
Package main demonstrates registering a TrueType font and drawing UTF-8 text with it. |
|
examples/custompage
command
Package main demonstrates building a document from a custom page definition.
|
Package main demonstrates building a document from a custom page definition. |
|
examples/datamatrixgrid
command
Package main demonstrates placing Data Matrix codes across a grid of columns.
|
Package main demonstrates placing Data Matrix codes across a grid of columns. |
|
examples/disablepagebreak
command
Package main demonstrates keeping a row on one page instead of letting it split.
|
Package main demonstrates keeping a row on one page instead of letting it split. |
|
examples/footer
command
Package main demonstrates a footer that repeats at the bottom of every page.
|
Package main demonstrates a footer that repeats at the bottom of every page. |
|
examples/header
command
Package main demonstrates a header that repeats at the top of every page.
|
Package main demonstrates a header that repeats at the top of every page. |
|
examples/imagegrid
command
Package main demonstrates placing images across a grid of columns.
|
Package main demonstrates placing images across a grid of columns. |
|
examples/line
command
Package main demonstrates horizontal rules, including dashed and coloured styles.
|
Package main demonstrates horizontal rules, including dashed and coloured styles. |
|
examples/list
command
Package main demonstrates rendering a slice of values as a table with a header row.
|
Package main demonstrates rendering a slice of values as a table with a header row. |
|
examples/lowmemory
command
Package main demonstrates low-memory mode, which writes pages out as they are built.
|
Package main demonstrates low-memory mode, which writes pages out as they are built. |
|
examples/margins
command
Package main demonstrates setting the page margins.
|
Package main demonstrates setting the page margins. |
|
examples/maxgridsum
command
Package main demonstrates changing how many grid units a row spans.
|
Package main demonstrates changing how many grid units a row spans. |
|
examples/mergepdf
command
Package main demonstrates merging a generated document with another PDF.
|
Package main demonstrates merging a generated document with another PDF. |
|
examples/metadatas
command
Package main demonstrates setting document metadata such as title, author, and subject.
|
Package main demonstrates setting document metadata such as title, author, and subject. |
|
examples/orientation
command
Package main demonstrates landscape orientation.
|
Package main demonstrates landscape orientation. |
|
examples/pagenumber
command
Package main demonstrates page numbering in a footer.
|
Package main demonstrates page numbering in a footer. |
|
examples/parallelism
command
Package main demonstrates generating page chunks concurrently.
|
Package main demonstrates generating page chunks concurrently. |
|
examples/protection
command
Package main demonstrates password protection and permission flags.
|
Package main demonstrates password protection and permission flags. |
|
examples/qrgrid
command
Package main demonstrates placing QR codes across a grid of columns.
|
Package main demonstrates placing QR codes across a grid of columns. |
|
examples/signaturegrid
command
Package main demonstrates signature lines across a grid of columns.
|
Package main demonstrates signature lines across a grid of columns. |
|
examples/simplest
command
Package main demonstrates the smallest document: one row with one line of text.
|
Package main demonstrates the smallest document: one row with one line of text. |
|
examples/textgrid
command
Package main demonstrates text components across a grid of columns.
|
Package main demonstrates text components across a grid of columns. |
|
examples/watermark
command
Package main demonstrates the per-page text watermark: translucent diagonal text drawn under the content of every page.
|
Package main demonstrates the per-page text watermark: translucent diagonal text drawn under the content of every page. |
Click to show internal directories.
Click to hide internal directories.