Overview | Getting StartedCode Samples | HistoryLicensePurchase | Support and Contacts

Getting Started

You can easily use «PDF Focus .Net» in any .Net Framework or .Net Core application. Because of the component is completely written in C# managed code.

Let us say, you have just created a .Net Core project. To configure «PDF Focus .Net» in your prject, make these steps:

  1. Add the reference to SautinSoft.PdfFocus.dll.
  2. Add dependencies through Nuget (optional step). This step is necessary only for .Net Core and only when you have added the .dll manually without using Nuget.

1. Add the reference to SautinSoft.PdfFocus.dll:

You may add the reference to the SautinSoft.PdfFocus assembly by any of two ways:

1. Nuget (fast way):

(Solution Explorer->right click by "References"->Manage Nuget Packages...->In the tab "Browse" type "SautinSoft" and find the "SautinSoft.PdfFocus")
Add SautinSoft.PdfFocus.dll via Nuget.

2. Old good way by adding the reference:

First of all, download the «PDF Focus .Net» package (pdf_focus_net.zip) from the SautinSoft website.
Unzip pdf_focus_net.zip and find the assembly file "SautinSoft.PdfFocus.dll".
(At the Solution Explorer->right click by "References"->Add Reference...->Browse "SautinSoft.PdfFocus.dll")
Add reference to SautinSoft.PdfFocus.dll.

Note:

SautinSoft.PdfFocus.dll compiled for .Net Core is located inside (pdf_focus_net.zip->PDF Focus .Net X.X\Bin\Net Core X.X) folder.

SautinSoft.PdfFocus.dll compiled for .Net Framework is located inside (pdf_focus_net.zip->PDF Focus .Net X.X\Bin\Net X.X) folder.

2. Add dependencies through Nuget (optional):

If you have added the SautinSoft.PdfFocus.dll into your project in previous step 1 through Nuget, all dependencies are already installed automatically and therefore simply skip this step. If you are creating a .Net Framework (not .Net Core) app, also skip this step.

In case of you have added the reference to the SautinSoft.PdfFocus.dll by the old way (Solution Explorer->right click by "References"->Add Reference...), please add these dependencies using Nuget:

  • System.IO.Packaging, 4.3.0.
  • System.Text.Encoding.CodePages, 4.3.0.
  • ZKWeb.System.Drawing, 3.0.0.

For example, to add "System.IO.Packaging, 4.3.0:
(Solution Explorer->right click by "References"->Manage Nuget Packages...->In the tab "Browse" type "System.IO.Packaging" and find the "System.IO.Packaging", select version "4.3.0")

Well done!

Now your application is able to convert PDF documents to All popular formats!

Here you will find the Collection with code examples in C# and VB.Net.

© Copyright SautinSoft™ 2002 - 2018