【文件属性】:
文件名称:node-fpdf:从 PHP 到 Javascript 的 FPDF 库端口
文件大小:68KB
文件格式:ZIP
更新时间:2021-08-04 13:32:54
javascript pdf electronjs fpdf node-fpdf
节点-fpdf
FPDF 库从 PHP 到 Javascript 的端口与原始库完全兼容您可以找到项目和原始文档
用paypal支持项目
勇敢的代币支持
使用勇敢的浏览器转到存储库
安装用
npm i node - fpdf
//o
yarn add node - fpdf
如何使用
const FPDF = require ( 'node-fpdf' )
const pdf = new FPDF ( 'P' , 'mm' , 'A4' ) ;
pdf . AddPage ( ) ;
pdf . SetFont ( 'Arial' , 'B' , 12 ) ;
pdf . Cell ( 5 , 5 , "HOLA MUNDO!!" ) ;
pdf . Output ( 'F' , `test.pdf` ) ;
可用来源
导游
黑体
象征
次
击杀蝙蝠
可用功能
Accep
【文件预览】:
node-fpdf-master
----src()
--------sRGB2014.icc(3KB)
--------fpdf_js.js(71KB)
--------ImageManager()
--------makefont()
--------extends()
--------fonts()
--------PHP_CoreFunctions.js(15KB)
----makefont()
--------ttfparser.js(4KB)
--------makefont.js(0B)
----.npmignore(62B)
----LICENSE(1KB)
----test()
--------ImageReport.js(407B)
--------.DS_Store(6KB)
--------js_test.js(389B)
--------TicketSample.js(1KB)
--------test_ttfparser.js(139B)
--------shadowcell.js(589B)
--------code39.js(165B)
--------Bookmark_index_test.js(553B)
--------testmulticell.js(782B)
--------bookmark.js(503B)
--------ReportSample.js(5KB)
--------testttfparse.js(154B)
--------code128.js(435B)
--------char.js(2KB)
--------rotatetext.js(251B)
--------code_i25.js(163B)
--------ean13.js(171B)
----README.md(4KB)
----.gitignore(153B)
----index.js(40B)
----package.json(1KB)