"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[62314],{3905:(t,e,n)=>{n.d(e,{Zo:()=>d,kt:()=>k});vara=n(67294);functionr(t,e,n){returneint?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}functionp(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}functionl(t){for(vare=1;e<arguments.length;e++){varn=null!=arguments[e]?arguments[e]:{};e%2?p(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):p(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={},p=Object.keys(t);for(a=0;a<p.length;a++)n=p[a],e.indexOf(n)>=0||(r[n]=t[n]);returnr}(t,e);if(Object.getOwnPropertySymbols){varp=Object.getOwnPropertySymbols(t);for(a=0;a<p.length;a++)n=p[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):l(l({},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)}},s=a.forwardRef((function(t,e){varn=t.components,r=t.mdxType,p=t.originalType,o=t.parentName,d=i(t,["components","mdxType","originalType","parentName"]),s=u(n),k=r,g=s["".concat(o,".").concat(k)]||s[k]||m[k]||p;returnn?a.createElement(g,l(l({ref:e},d),{},{components:n})):a.createElement(g,l({ref:e},d))}));functionk(t,e){varn=arguments,r=e&&e.mdxType;if("string"==typeoft||r){varp=n.length,l=newArray(p);l[0]=s;vari={};for(varoine)hasOwnProperty.call(e,o)&&(i[o]=e[o]);i.originalType=t,i.mdxType="string"==typeoft?t:r,l[1]=i;for(varu=2;u<p;u++)l[u]=n[u];returna.createElement.apply(null,l)}returna.createElement.apply(null,n)}s.displayName="MDXCreateElement"},83584:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>u,contentTitle:()=>i,default:()=>s,frontMatter:()=>l,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)}functionp(t,e){if(null==t)return{};varn,a,r=function(t,e){if(null==t)return{};varn,a,r={},p=Object.keys(t);for(a=0;a<p.length;a++)n=p[a],e.indexOf(n)>=0||(r[n]=t[n]);returnr}(t,e);if(Object.getOwnPropertySymbols){varp=Object.getOwnPropertySymbols(t);for(a=0;a<p.length;a++)n=p[a],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}returnr}constl={sidebar_label:"PDFOptions"},i="PDFOptions interface",o={unversionedId:"api/puppeteer.pdfoptions",id:"version-18.2.1/api/puppeteer.pdfoptions",title:"PDFOptions interface",description:"Valid options to configure PDF generation via Page.pdf().",source:"@site/versioned_docs/version-18.2.1/api/puppeteer.pdfoptions.md",sourceDirName:"api",slug:"/api/puppeteer.pdfoptions",permalink:"/api/puppeteer.pdfoptions",draft:!1,tags:[],version:"18.2.1",frontMatter:{sidebar_label:"PDFOptions"},sidebar:"sidebar",previous:{title:"PDFMargin.top",permalink:"/api/puppeteer.pdfmargin.top"},next:{title:"PDFOptions.displayHeaderFooter",permalink:"/api/puppeteer.pdfoptions.displayheaderfooter"}},u={},d=[{value:"Properties",id:"properties",level:2}],m={toc:d};functions(t){var{components:e}=t,n=p(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:"/api/puppeteer.page.pdf"}),"Page.pdf()"),"."),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Signature:")),(0,