Perpustakaan JavaScript ngidini pangembang Node.js via .NET bisa ngowahi file DOC kanthi gampang. Mesin konversi DOC nganalisa tata letak lan gaya DOC asli, banjur ngekspor konten gabungan menyang format sing dibutuhake.
Konversi DOC bisa uga angel, kajaba sampeyan duwe alat profesional kanggo nindakake tugas kasebut. Gunakake JavaScript kanggo ngowahi file DOC kanthi keluwesan lan kacepetan maksimal. Jalanake demo langsung online lan priksa kualitas konversi DOC sing paling dhuwur ing browser. DOC Conversion API ndhukung akeh opsi migunani.
Ningkatake kapabilitas format DOC nganggo Aspose.Words kanggo Node.js via .NET. Iki minangka cara sing gampang kanggo nggabungake file DOC karo perpustakaan JavaScript sing nangani kabeh rincian tingkat rendah.
Gabung DOC lan simpen asil minangka file siji. Yen sampeyan ngembangake kode ing JavaScript, iki bakal luwih gampang tinimbang sing katon. Deleng conto JavaScript sing ngulang dokumen DOC lan gabungke:
npm install @aspose/words
Nyalin
const aw = require('@aspose/words');
var fileNames = [ "Input1.doc", "Input2.doc" ]
var output = new aw.Document()
// Mbusak kabeh content saka dokumen tujuan sadurunge nambah.
output.removeAllChildren()
fileNames.forEach(fileName => {
var input = new aw.Document(fileName);
// Tambahake dokumen sumber menyang pungkasan dokumen tujuan.
output.appendDocument(input, aw.ImportFormatMode.KeepSourceFormatting);
});
output.save("Output.doc");
We host our Node.js via .Net packages in NPM repositories. Please follow the step-by-step instructions on how to install "Aspose.Words for Node.js via .NET" to your developer environment.
This package is compatible with Node.js 14.17.0 or higher.
Sampeyan bisa nggabungake DOC menyang akeh format file liyane: