How to Merge PDF to MS PROJECT Using C#
In order to Merge PDF to MS PROJECT, we’ll use
API which is a feature-rich, powerful and easy to use document manipulation and merging API for C# platform. Open
package manager, search for Aspose.Tasks and install. You may also use the following command from the Package Manager Console. Please note that you need to decide what exactly entities from MS Project file you need to merge in source file.
Package Manager Console Command
PM> Install-Package Aspose.Tasks
Steps to Merge PDF to MS PROJECT via C#
Developers can easily load & merge PDF files to MS PROJECT in just a few lines of code.
- Create new instance of Project class
- Read each PDF file as an array of bytes
- Create instances of Aspose.Tasks.OleObject class per each array
- Fill OleObjects by arrays and add this OleObjects to the “OleObjects” collection of Project instance
- Call the Project.Save method with output file path & SaveFileFormat.PDF as parameters
System Requirements
Before running the merging example code, make sure that you have the following prerequisites.
- Microsoft Windows or a compatible OS with .NET Framework, Mono and COM Interop.
- Development environment like Microsoft Visual Studio.
- Aspose.Tasks for .NET DLL referenced in your project.
This sample code shows PDF to MS PROJECT C# Merging
Free App to Merge PDF to MS PROJECT
Other Supported Merging Formats
You can also merge PDF into other file formats including few listed below.
PDF TO MPP (Microsoft Project Data File)
PDF TO MS PROJECT (Microsoft Project Data File)