> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hyperwisor.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PDF Export

> A button that exports the dashboard to a PDF.

<Info>
  **Category:** Utility · **Action:** exports the dashboard to PDF
</Info>

## Mental model

A **PDF Export is a print button.** Press it and the current dashboard (or a region)
is captured to a PDF — for reports, records, and sharing.

## When to use it

* Let users download a snapshot report of a dashboard
* Generate a shareable record

## Settings

### General / Style

* **Filename** — output file name
* **Orientation** — portrait / landscape
* **Capture scale** · **image quality** — render fidelity vs. file size
* **Include timestamp** — stamp the export time
* **Button text** · **variant** · **size** · **icon position**
* **Margin** · **font size / weight**

## Script API example

The same interactions from a [dashboard script](/script/overview):

```js theme={null}
// Export is a desktop feature
if (context.device.isMobile) widget.hide('exportBtn');
```

<Card title="Widget reference" icon="table-cells" href="/dashboard/widgets/overview">
  Back to all widgets.
</Card>
