v25.2

Đã thêm Plugin mới: TOC Generator

  • Class TocGenerator: Đại diện cho plugin Documentize.TocGenerator. Được sử dụng để thêm Mục lục vào tài liệu PDF.
  • Class TocOptions: Đại diện cho các tùy chọn khi thêm Mục lục vào tài liệu bằng plugin Documentize.TocGenerator.
  • Class TocHeading: Đại diện cho các tùy chọn cho các tiêu đề hoặc tên mục trong Mục lục của tài liệu do plugin Documentize.TocGenerator tạo ra.

Ví dụ sử dụng:

// The example demonstrates how to add Table of Contents to PDF file.
var options = new TocOptions();
// Set the Title
options.Title = "My Table of Contents";
// Generate links in bookmarks
options.GenerateBookmarks = true;
// Design Headings
options.Headings.Add(new TocHeading("Introduction", 2, false, 1));
options.Headings.Add(new TocHeading("Chapter I", 3, true, 1));
options.Headings.Add(new TocHeading("Chapter II", 4, true, 1));
options.Headings.Add(new TocHeading("Example A", 4, true, 2));
options.Headings.Add(new TocHeading("Example B", 4, true, 2));
options.Headings.Add(new TocHeading("Example C", 4, true, 2));
options.Headings.Add(new TocHeading("Example D", 4, true, 2));
options.Headings.Add(new TocHeading("Chapter III", 5, true, 1));
// Add input file path
options.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
// Set output file path
options.AddOutput(new FileDataSource("path_to_result_pdf_file.pdf"));
// Perform the process
TocGenerator.Process(options);

Sửa lỗi nhẹ

  • Cải thiện gợi ý lớp và các ví dụ.
  • Cập nhật watermark.
  • Cải thiện chuyển đổi PDF sang XSLX.
  • Cải thiện chuyển đổi PDF sang PDF/A-1a.
7 thg 9, 2026
 Tiếng Việt