GroupDocs.Merger for .NET 24.9 Release Notes
There are few features in this release.
Full list of changes in this release
Key | Category | Summary |
---|---|---|
MERGERNET-1708 | Feature | Implement a new Presentation joining feature for PPSM |
MERGERNET-1756 | Enhancement | Enhance the join options for PDFs to include a feature that allows all bookmarks to be expanded by default |
Major features
- Implemented a new Presentation joining feature for PPSM
- Enhanced the join options for PDFs to include a feature that allows all bookmarks to be expanded by default
Public API and backward incompatible changes
This section lists public API changes that were introduced in GroupDocs.Merger for .NET 24.9. It includes not only new and obsoleted public methods, but also a description of any changes in the behavior behind the scenes in GroupDocs.Merger which may affect existing code. Any behavior introduced that could be seen as a regression and modifies existing behavior is especially important and is documented here.
New PdfJoinOptions class was added
New PdfJoinOptions class with UseBookmarks option was added.
How to merge PDF files with bookmarks
Also, there is an ability to merge Pdf files with bookmarks, please see an according example below:
// Load the source PDF file
using (Merger merger = new Merger(@"c:\sample1.pdf"))
{
// Init PdfJoinOptions with UseBookmarks flag
PdfJoinOptions pdfJoinOptions = new PdfJoinOptions();
pdfJoinOptions.UseBookmarks = true;
// Add another PDF file to merge
merger.Join(@"c:\sample2.pdf", pdfJoinOptions);
// Merge PDF files and save result
merger.Save(@"c:\merged.pdf");
}
The existing Join method of the Merger class was expanded
The existing Join method of the GroupDocs.Merger for .NET product was expanded, please refer to the following documentation articles for more details: