Extracting pages from a document and saving them as a new file in C#
The first and foremost question in your mind could be, is it about PDF documents only? And the answer is, No. In this blog post we will see how simple yet helpful it is to extract pages from different kinds of documents (e.g. Word, Excel, Presentation, PDF, HTML, RTF) and save them as a new file using GroupDocs.Merger for .NET. Learn more about the supported file formats. Hence, the resultant document will possess only extracted pages.
Introducing more simplified and improved GroupDocs.Merger for .NET
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.
Support for Diagrams in GroupDocs.Merger
GroupDocs.Merger now supports diagram formats such as VSDFX, VSDM, VSSX, VSSM and VTX . It allows you to swap, rotate or trim pages in diagrams. Apart for that, you can also set or remove password protection of diagrams. This API comes in both Java and .NET platforms and could be integrated in any your .NET or Java application without any dependency.
Features for Diagrams Format Swap Pages: This feature allows you to exchange the position of two pages in the document.
XLTX File Format Support in GroupDocs.Merger for .NET
Document Manipulation and Modification is now programatically implemented in a lot of file formats. Keeping that in view, we are introducing some new file formats with the release of GroupDocs.Merger for .NET 19.2.
Following new file formats are now supported by the API:
XLT XLTX XLTM In excel these file formats are basically saved as a template files.
Beside new features, we also introduced a improvement and few bug fixes.
Page Rotation Issue for EPUB Format is Fixed in GroupDocs.Merger for .NET 19.1
We are pleased to announce the monthly release of GroupDocs.Merger for .NET 19.1. This latest version of the API comes with some new features and bug fixes. RotatePages method now supports Diagram formats. Please see release notes for further details.
Features Diagram formats are available for method: RotatePages Note formats are available for method: SwapPages Bug Fixes Document Save method throws exception: System.ObjectDisposedException PostScript document is loading with error Page rotation is not saving for EPUB format Available Channels and Resources Here are a few channels and resources for you to learn, try and get technical support on GroupDocs.
Change Page Orientation using GroupDocs.Merger for .NET 18.11
We are pleased to announce the release of GroupDocs.Merger for .NET 18.11. This latest version of the API comes with some new features. GetSupportedFormats and RotatePage methods are introduced. Furthermore, you can change page orientation. Please see release notes for further details.
Features Change Page OrientationNew method ChangeOrientation is introduced.``` public DocumentResult ChangeOrientation(Stream documentStream, OrientationOptions orientationOptions);
## Get Supported FormatsMethod GetSupportedFormats is added.``` public Dictionary GetSupportedFormats(); Rotate PagesRotatePages method is introduced in the API.
Note Format is Supported in GroupDocs.Merger for .NET 18.9
This month’s release of GroupDocs.Merger for .NET 18.9 comes with some new features. API enables you to work with password-protected ODT and OTT file formats. You can also trim Note formatted documents. Please see release notes for further details.
Features Note format is supported by following methods:
Join
MovePage
RemovePage
Split document
SwapPages
Trim
Implement security methods for the following formats:
Diagram Formats are Supported in GroupDocs.Merger for .NET 18.7
GroupDocs.Merger for .NET 18.7 comes with some new features. The diagram formats are now supported for multiple methods such as Join, MovePage or RemovePage. For further details, please see release notes.
Supported Diagram Formats Following diagram formats are supported by the API:
VSDX VSDM VSSX VSSM VTX VSTM VDX VSTX VSX Features Above mentioned diagram formats are supported by following methods:
Join MovePage RemovePage Split document SwapPages Trim Available Channels and Resources Here are a few channels and resources for you to learn, try and get technical support on GroupDocs.
Releasing GroupDocs.Merger for .NET API - Reorder or Split Document Pages
We are pleased to announce GroupDocs.Merger for .NET 18.5. A back-end document manipulation API that allows to split, remove or reorder pages in a document of supported format. Pages could be swapped or trimmed. You can also manage documents protection. GroupDocs.Merger for .NET allows to check document protection and then set, remove or update password. Aside this, API permits to join two or more documents of same file format into one.
Upcoming Release of GroupDocs.Merger for .NET
We are about to release GroupDocs.Merger for .NET, a full featured, back-end API that could easily be utilized by .NET developers in their projects. It will allow trimming and swapping of pages. Document protection will be managed by GroupDocs.Merger for .NET. Moreover, API will allow to merge two documents of same format into single.
Features Offered by GroupDocs.Merger for .NETGroupDocs will keep on updating this API with new features. An initial list of features offered by the API will be: Move/reorder pages Remove and swap document pages Trim and split document Document protection management Join Document First Version AvailabilityWe are finalizing the first release of GroupDocs.