# PDF Export

> Export worksheets and merged reports as PDF in the browser editor, .NET and Node.js: print settings, page fields, PDF options, dashboards and tagged output.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Sheet Control > PDF Export
- **679 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/pdf/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/pdf/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/pdf/llms-full.txt

---

Sales reports, merged invoices and other worksheets leave an application as PDF. You export them from the browser editor or from the independent .NET and Node.js server packages of TX Sheet Control. PDF is a format for saving only: a workbook is saved as PDF but never loaded from one.

Getting a PDF right means preparing the pages before the export, choosing the options of the save call and, where reports must be accessible, validating the tagged result.

### How PDF Export Works

Besides the document content, three things shape the PDF:

- **The print settings** of each worksheet: paper, orientation, margins, print area, scaling and headers and footers with page fields. Screen zoom, frozen panes and the size of the browser host do not replace them. Page Layout view shows the printed page before the export.
- **The save call** with the PDF stream type: `editor.save(StreamType.PDF, options)` in the browser editor, the server equivalent in Node.js and `SaveAsync` in .NET. Its options set metadata, compression, selected sheets and pages, the locale, time zone and date context, security, viewer preferences and tagging.
- **The fonts** deployed with the application, whose metrics affect line wrapping and pagination.

To export a dashboard, set `pdf.dashboardId` to its ID. The default `dashboardPage: 'fit'` creates one dashboard-sized page; `'print'` paginates with the workbook print settings. For worksheet-only output from a workbook that also contains dashboards, set `omitDashboards: true`. Evaluation output retains its watermark.

### Find the Right Page

| If you want to | Read |
|---|---|
| Set paper, orientation, margins, print area and fit-to-width | [Page Layout and Print Settings](https://docs.textcontrol.com/tx-sheet-control/pdf/page-layout/llms-full.txt) |
| Put page numbers, dates or the file name into headers and footers | [Page Layout and Print Settings](https://docs.textcontrol.com/tx-sheet-control/pdf/page-layout/llms-full.txt) |
| Save a PDF in .NET, Node.js or the browser editor and set its options | [Exporting Worksheets to PDF](https://docs.textcontrol.com/tx-sheet-control/pdf/export/llms-full.txt) |
| Export a workbook that contains dashboards | [Exporting Worksheets to PDF](https://docs.textcontrol.com/tx-sheet-control/pdf/export/llms-full.txt) |
| Create tagged PDF reports and validate them with assistive technologies | [Tagged PDF and Accessibility](https://docs.textcontrol.com/tx-sheet-control/pdf/accessibility/llms-full.txt) |
| Merge an invoice and export it as PDF | [Invoice Report Pipeline](https://docs.textcontrol.com/tx-sheet-control/mail-merge/report-pipeline/llms-full.txt) |

### Where to Start

1. [Page Layout and Print Settings](https://docs.textcontrol.com/tx-sheet-control/pdf/page-layout/llms-full.txt): prepare the pages of each worksheet.
2. [Exporting Worksheets to PDF](https://docs.textcontrol.com/tx-sheet-control/pdf/export/llms-full.txt): save the PDF with the options you need.
3. [Tagged PDF and Accessibility](https://docs.textcontrol.com/tx-sheet-control/pdf/accessibility/llms-full.txt), when your reports must be accessible.

### Pages in This Section

- [Page Layout and Print Settings](https://docs.textcontrol.com/tx-sheet-control/pdf/page-layout/llms-full.txt): configure paper, margins, print area, scaling and header and footer field codes, and review pages in Page Layout view.
- [Exporting Worksheets to PDF](https://docs.textcontrol.com/tx-sheet-control/pdf/export/llms-full.txt): save worksheets as PDF, choose the output options and handle dashboards and delivery.
- [Tagged PDF and Accessibility](https://docs.textcontrol.com/tx-sheet-control/pdf/accessibility/llms-full.txt): author accessible content, review the options for tagged output and validate the delivered PDF.

---

## In This Section

- [Tagged PDF and Accessibility](https://docs.textcontrol.com/tx-sheet-control/pdf/accessibility/llms-full.txt): Create tagged PDF reports from worksheets with PdfOptions such as Tagged, PdfUa and HeaderRows, add alternative text and titles and validate the exported file.
- [Exporting Worksheets to PDF](https://docs.textcontrol.com/tx-sheet-control/pdf/export/llms-full.txt): Save worksheets as PDF in the browser editor, .NET or Node.js with SaveAsync and PdfOptions: page count, OmitDashboards, metadata, security and tagged output.
- [Page Layout and Print Settings](https://docs.textcontrol.com/tx-sheet-control/pdf/page-layout/llms-full.txt): Set paper size, orientation, margins, print area, fit-to-width scaling and header and footer field codes with SheetPrint, then check pages in Page Layout view.

---

## Nearby

- **Previous:** [Fonts in Documents](https://docs.textcontrol.com/tx-sheet-control/document-processing/document-fonts/llms-full.txt)
- **Next:** [Page Layout and Print Settings](https://docs.textcontrol.com/tx-sheet-control/pdf/page-layout/llms-full.txt)
