How Can i remove the white area in bottom of the page and make the page 100% fully
mohamedelsnousy opened this issue · 0 comments
mohamedelsnousy commented
const targetRef = useRef(); const options = { filename: 'test.pdf', method: 'open', resolution: 5, page: { margin: Margin.NONE, format: 'A3', orientation: 'landscape', scale: 160, }, canvas: { mimeType: 'image/png', qualityRatio: 1, }, overrides: { // see https://artskydj.github.io/jsPDF/docs/jsPDF.html for more options pdf: { compress: true }, // see https://html2canvas.hertzen.com/configuration for more options canvas: { useCORS: true } }, };