Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dwm/ext/canvas.ts>PdfDocument#save

Deno Window Manager: Cross-platform window creation and management
Go to Latest
method PdfDocument.prototype.save
import { PdfDocument } from "https://deno.land/x/dwm@0.3.4/ext/canvas.ts";

Saves PDF to the file and closes the stream. Changes cannot be made to PDF after this.

Parameters

path: string