# PdfExportOptions

Fields, allowed values, and APIs that use PdfExportOptions.

Canonical: https://grid.syidax.com/docs/types/PdfExportOptions/

<a id="definition"></a>

## Type definition

A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.

```typescript
export interface PdfExportOptions<TRow = Record<string, unknown>> {
  columns: ReadonlyArray<PdfExportColumn>;
  rows: ReadonlyArray<TRow>;
  pageSize?: PdfExportPageSize;
  orientation?: PdfExportOrientation;
  title?: string;
  footer?: string;
  pageNumbers?: boolean;
  zebra?: boolean;
  author?: string;
  locale?: string;
  fontBytes?: PdfExportFontBytes;
  fontBaseName?: string;
  blankForNullish?: boolean;
  fit?: 'shrink' | 'orient' | 'none';
}
```

<a id="parents"></a>

## Contracts containing this type

- [PdfDownloadOptions](https://grid.syidax.com/docs/types/PdfDownloadOptions.md)
- [SyGridApiPdfExportOptions](https://grid.syidax.com/docs/types/SyGridApiPdfExportOptions.md)
- [SyGridPdfExportOptions](https://grid.syidax.com/docs/types/SyGridPdfExportOptions.md)

<a id="related"></a>

## Related types

- [PdfExportColumn](https://grid.syidax.com/docs/types/PdfExportColumn.md)
- [PdfExportPageSize](https://grid.syidax.com/docs/types/PdfExportPageSize.md)
- [PdfExportOrientation](https://grid.syidax.com/docs/types/PdfExportOrientation.md)
- [PdfExportFontBytes](https://grid.syidax.com/docs/types/PdfExportFontBytes.md)
