Aspose.Pdf

Installation

Aspose.Pdf for .Net could be deployed on your machine in two ways: using full MSI Installer or just the Single Dll. Both of them are available for free download at the Aspose.Pdf download page . Using the installer has a couple of advantages:

 

It makes all necessary entries into the system registry to expose Aspose.Pdf classes to COM applications, adding the assembly to the Add Reference dialog box in Visual Studio etc;

It contains the demo projects that allow you to obtain "real" code samples;

It contains the offline API documentation.

 

Installing Aspose.Pdf for .Net

 

Using MSI Installer

 

  1. If you have a previous version of Aspose.Pdf for .Net installed, please uninstall it first. See below how to remove the component from the computer.
  2. Visit Aspose.Pdf for .Net download page and download the Aspose.Pdf.msi installer that contains the latest version of the component. You can also use direct download link
  3. Run the downloaded file and follow the installer instructions.
  4. To use Aspose.Pdf for .Net in your project, provide a reference to it as described below.

 

Using DLL Only

 

The installer(Aspose.Pdf.msi) includes a default start condition (MsiNetAssemblySupport) ,namely NET Framework version 1.1.4322. This start condition verifies that the .NET Framework is installed on the destination computer. If the .NET Framework is not found on the destination computer, the installation is stopped and you receive the error message like:

 

This setup requires the .Net framework version 1.1.4322. Please install the .Net Framework and run this setup again. the .NET Framework can be obtained from the web. would you like to do this now?.

 

So we alternatively provide another way to use Asopse.Pdf.

 

  1. Visit Aspose.Pdf .Net download page and download the Aspose.Pdf.zip archive that contains the latest version of the component. You can also use direct download link
  2. Unpack the archive into some directory on your hard drive.
  3. To use Aspose.Pdf for .Net in your project, provide a reference to it as described below.

 

Referencing the Component

 

In order to use any component in your application, you should add a reference to it. Follow these steps (assuming you use Visual Studio .NET):

 

  1. In Solution Explorer, expand the project node you want to add a reference to.
  2. Right-click the References node for the project and select Add Reference from the shortcut menu.
  3. In the Add Reference dialog box, select the .NET tab (selected by default).
  4. If you have used MSI installer to install Aspose.Pdf, you will see Aspose.Pdf in the top pane. Select it and then click the Select button.
  5. If you have downloaded and unpacked the dll only, locate the Aspose.Pdf.dll file using the Browse button.
  6. Now you have referenced Aspose.Pdf for .Net and it should appear in the SelectedComponents pane of the dialog box. Click OK. The Aspose.Pdf reference will appear under the References node of the project.

 

Uninstalling Aspose.Pdf for .Net

 

If you have used MSI installer to deploy Aspose.Pdf .Net, follow these steps to completely remove the component and the associated demos and documentation:

 

  1. From the Start menu, select Settings | Control Panel.
  2. Click Add/Remove Programs.
  3. Select Aspose.Pdf.
  4. Click the Change/Remove button to remove Aspose.Pdf.