The save
function is used to save the Pdf object to a file.
var pdf = new Pdf("mytemplate.pdf");
pdf.save("my.pdf").close();
Calling | Returning |
---|---|
pdf. save ( path ) |
Pdf |
Parameters | Type | Description |
---|---|---|
path |
String |
The Pdf file path relative to the storage folder. |