# PreviewParams

Options controlling the behavior of a generated preview URL.

> Kind: Apex type · Updated: 2026-07-03

PreviewParams carries options that control the behavior of a preview URL. Pass it as the params argument of Client.getPreviewUrl().

## Fields

### Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| allowDownload | Boolean | optional | Whether the file can be downloaded from the preview. |
