puppeteer/new-docs/puppeteer.paperformat.md
Jack Franklin 9fdf2ba280
chore(docs): migrate page.pdf() docs (#6228)
Also took the opportunity to pull out the PDF types into their own file
to clear up `Page.ts` slightly and give the PDF code a more natural
place to live.
2020-07-17 13:58:56 +01:00

39 lines
880 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [PaperFormat](./puppeteer.paperformat.md)
## PaperFormat type
All the valid paper format types when printing a PDF.
<b>Signature:</b>
```typescript
export declare type PaperFormat = 'letter' | 'legal' | 'tabloid' | 'ledger' | 'a0' | 'a1' | 'a2' | 'a3' | 'a4' | 'a5' | 'a6';
```
## Remarks
The sizes of each format are as follows: - `Letter`<!-- -->: 8.5in x 11in
- `Legal`<!-- -->: 8.5in x 14in
- `Tabloid`<!-- -->: 11in x 17in
- `Ledger`<!-- -->: 17in x 11in
- `A0`<!-- -->: 33.1in x 46.8in
- `A1`<!-- -->: 23.4in x 33.1in
- `A2`<!-- -->: 16.54in x 23.4in
- `A3`<!-- -->: 11.7in x 16.54in
- `A4`<!-- -->: 8.27in x 11.7in
- `A5`<!-- -->: 5.83in x 8.27in
- `A6`<!-- -->: 4.13in x 5.83in