You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using webContents.printToPDF(options, callback) there are only 3 options of marginsType available however in chrome there are actually 4 the 4th being the custom.
Can we set custom margin types with printToPDF? Since Chrome doesn't support page margin boxes when printing (or generating pdf) this custom print margins are essential while generating pdf.
The text was updated successfully, but these errors were encountered:
When using
webContents.printToPDF(options, callback)
there are only 3 options ofmarginsType
available however in chrome there are actually 4 the 4th being thecustom
.Can we set custom margin types with
printToPDF
? Since Chrome doesn't support page margin boxes when printing (or generating pdf) this custom print margins are essential while generating pdf.The text was updated successfully, but these errors were encountered: