GroupDocs.Merger for .NET allows you to merge or manipulate document structure across a wide range of file formats. Those who are new to this API, you can join several documents into one, split single document to multiple documents, reorder or replace document pages, change page orientation and manage document password.
Version 19.9 is a major release. We totally restructured the API and below are the reasons to migrate:
- Merger class introduced as a single entry point to manage the document processing of any supported file format
- API is improved to decrease memory usage
- Easy to instantiate proper options class and control over document structure manipulation processes
Those who are already using the API, let us share the code difference. We will see how to join documents using old and new API.
That’s how we were joining documents in older version:
Below is the new way:
The legacy API have been moved into Legacy namespace so after update to this version it is required to make project-wide replacement of namespace usages from GroupDocs.Merger to GroupDocs.Merger.Legacy to resolve build issues.