"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[42822],{3905:(t,e,n)=>{n.d(e,{Zo:()=>d,kt:()=>g});vara=n(67294);functionr(t,e,n){returneint?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}functionl(t,e){varn=Object.keys(t);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){returnObject.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}returnn}functionp(t){for(vare=1;e<arguments.length;e++){varn=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}returnt}functioni(t,e){if(null==t)return{};varn,a,r=function(t,e){if(null==t)return{};varn,a,r={},l=Object.keys(t);for(a=0;a<l.length;a++)n=l[a],e.indexOf(n)>=0||(r[n]=t[n]);returnr}(t,e);if(Object.getOwnPropertySymbols){varl=Object.getOwnPropertySymbols(t);for(a=0;a<l.length;a++)n=l[a],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}returnr}varo=a.createContext({}),u=function(t){vare=a.useContext(o),n=e;returnt&&(n="function"==typeoft?t(e):p(p({},e),t)),n},d=function(t){vare=u(t.components);returna.createElement(o.Provider,{value:e},t.children)},m={inlineCode:"code",wrapper:function(t){vare=t.children;returna.createElement(a.Fragment,{},e)}},k=a.forwardRef((function(t,e){varn=t.components,r=t.mdxType,l=t.originalType,o=t.parentName,d=i(t,["components","mdxType","originalType","parentName"]),k=u(n),g=r,c=k["".concat(o,".").concat(g)]||k[g]||m[g]||l;returnn?a.createElement(c,p(p({ref:e},d),{},{components:n})):a.createElement(c,p({ref:e},d))}));functiong(t,e){varn=arguments,r=e&&e.mdxType;if("string"==typeoft||r){varl=n.length,p=newArray(l);p[0]=k;vari={};for(varoine)hasOwnProperty.call(e,o)&&(i[o]=e[o]);i.originalType=t,i.mdxType="string"==typeoft?t:r,p[1]=i;for(varu=2;u<l;u++)p[u]=n[u];returna.createElement.apply(null,p)}returna.createElement.apply(null,n)}k.displayName="MDXCreateElement"},24076:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>u,contentTitle:()=>i,default:()=>k,frontMatter:()=>p,metadata:()=>o,toc:()=>d});n(67294);vara=n(3905);functionr(){returnr=Object.assign||function(t){for(vare=1;e<arguments.length;e++){varn=arguments[e];for(varainn)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}returnt},r.apply(this,arguments)}functionl(t,e){if(null==t)return{};varn,a,r=function(t,e){if(null==t)return{};varn,a,r={},l=Object.keys(t);for(a=0;a<l.length;a++)n=l[a],e.indexOf(n)>=0||(r[n]=t[n]);returnr}(t,e);if(Object.getOwnPropertySymbols){varl=Object.getOwnPropertySymbols(t);for(a=0;a<l.length;a++)n=l[a],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}returnr}constp={sidebar_label:"PDFOptions"},i="PDFOptions interface",o={unversionedId:"api/puppeteer.pdfoptions",id:"api/puppeteer.pdfoptions",title:"PDFOptions interface",description:"Valid options to configure PDF generation via Page.pdf().",source:"@site/../docs/api/puppeteer.pdfoptions.md",sourceDirName:"api",slug:"/api/puppeteer.pdfoptions",permalink:"/next/api/puppeteer.pdfoptions",draft:!1,tags:[],version:"current",frontMatter:{sidebar_label:"PDFOptions"},sidebar:"api",previous:{title:"PDFMargin",permalink:"/next/api/puppeteer.pdfmargin"},next:{title:"Permission",permalink:"/next/api/puppeteer.permission"}},u={},d=[{value:"Signature:",id:"signature",level:4},{value:"Properties",id:"properties",level:2}],m={toc:d};functionk(t){var{components:e}=t,n=l(t,["components"]);return(0,a.kt)("wrapper",r({},m,n,{components:e,mdxType:"MDXLayout"}),(0,a.kt)("h1",r({},{id:"pdfoptions-interface"}),"PDFOptions interface"),(0,a.kt)("p",null,"Valid options to configure PDF generation via ",(0,a.kt)("a",r({parentName:"p"},{href:"/next/api/puppeteer.page.pdf"}),"Page.pdf()"),"."),(0,a.kt)("h4",r({},{id:"signature"}),"Signature:"),(0,a.kt)("pre",null,(0,a.kt)("code",r({paren