Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
pdfMake を使用して PDF を作成する Web アプリがあります。生成された pdf から byte[] を取得して、データベースへの送信に使用したいと考えています。pdfmakeによって生成されたpdfのバイト[]を取得するにはどうすればよいですか?
ライブラリが提供する次のメソッドを使用して、生成された PDF の配列を取得できます。
pdfMake.createPdf(docDefinition).getBuffer(function (databuffer) { data = databuffer; });