Wordize for .NET เป็นโซลูชันระดับมืออาชีพสำหรับการทำรายงานอัตโนมัติและการสร้างเอกสาร PDF แบบโปรแกรม คลาส ReportBuilder ให้ความสามารถแก่นักพัฒนา C# ในการสร้างรายงาน PDF โดยใช้แม่แบบและไวยากรณ์ LINQ ซึ่งช่วยเร่งกระบวนการ Business Intelligence นำเนื้อหา PDF แบบไดนามิกไปใช้ในระบบเอกสารอัตโนมัติ
ความสามารถหลัก:LINQ Reporting รับประกันการสร้างเอกสาร PDF ระดับมืออาชีพพร้อมรองรับการจัดรูปแบบที่ซับซ้อน ตาราง และแผนภูมิ ไฟล์ PDF จะเหมาะสำหรับระบบเอกสารทางการ รายงานทางการเงิน และการจัดเก็บข้อมูลเก่า
ทดสอบความสามารถการสร้างรายงาน PDF แบบโปรแกรมในการสาธิตแบบโต้ตอบออนไลน์ที่แสดงในหน้านี้ อัปโหลดแม่แบบเอกสาร ไฟล์ข้อมูล (JSON, XML หรือ CSV) เรียกใช้การดำเนินการและดาวน์โหลดเอกสาร PDF ที่สร้างขึ้นเพื่อตรวจสอบ โค้ด C# ที่ให้มาพร้อมใช้งานในโปรเจ็กต์ .NET ของคุณ
using Wordize.Reporting;
var dataSource = new JsonDataSource("data.json");
ReportBuilder.BuildReport("Input.pdf", "Output.pdf", dataSource, "");
using Wordize.Reporting;
var dataSource = new JsonDataSource("data.json");
ReportBuilder.BuildReport("Input.pdf", "Output.pdf", dataSource, "");
using Wordize.Reporting;
using Wordize.Saving;
var dataSource = new JsonDataSource("data.json");
var imageStreams = ReportBuilder.BuildReportToImages("Input.pdf",
new ImageSaveOptions(SaveFormat.Pdf), new[] { dataSource }, new[] { "" });
foreach (var (stream, page) in imageStreams.Select((s, i) => (s, i)))
{
using var _ = stream;
stream.Position = 0;
using var file = File.Create($"Output_{page + 1}.pdf");
stream.CopyTo(file);
}
using Wordize.Reporting;
var dataSource = new XmlDataSource("data.xml");
ReportBuilder.BuildReport("Input.pdf", "Output.pdf", dataSource, "");
using Wordize.Reporting;
var dataSource = new XmlDataSource("data.xml");
ReportBuilder.BuildReport("Input.pdf", "Output.pdf", dataSource, "");
using Wordize.Reporting;
using Wordize.Saving;
var dataSource = new XmlDataSource("data.xml");
var imageStreams = ReportBuilder.BuildReportToImages("Input.pdf",
new ImageSaveOptions(SaveFormat.Pdf), new[] { dataSource }, new[] { "" });
foreach (var (stream, page) in imageStreams.Select((s, i) => (s, i)))
{
using var _ = stream;
stream.Position = 0;
using var file = File.Create($"Output_{page + 1}.pdf");
stream.CopyTo(file);
}
using Wordize.Reporting;
var dataSource = new CsvDataSource("data.csv", new CsvDataLoadOptions() { HasHeaders = true });
ReportBuilder.BuildReport("Input.pdf", "Output.pdf", dataSource, "");
using Wordize.Reporting;
var dataSource = new CsvDataSource("data.csv", new CsvDataLoadOptions() { HasHeaders = true });
ReportBuilder.BuildReport("Input.pdf", "Output.pdf", dataSource, "");
using Wordize.Reporting;
using Wordize.Saving;
var dataSource = new CsvDataSource("data.csv", new CsvDataLoadOptions() { HasHeaders = true });
var imageStreams = ReportBuilder.BuildReportToImages("Input.pdf",
new ImageSaveOptions(SaveFormat.Pdf), new[] { dataSource }, new[] { "" });
foreach (var (stream, page) in imageStreams.Select((s, i) => (s, i)))
{
using var _ = stream;
stream.Position = 0;
using var file = File.Create($"Output_{page + 1}.pdf");
stream.CopyTo(file);
}