Use «PDF Focus .Net» library under Windows


You can easily use «PDF Focus .Net» in any .NET application, because of the component is completely written in C# managed code.

  1. Add dependencies through NuGet (optional).
  2. Add the reference to SautinSoft.PdfFocus.dll.

1. Add dependencies through NuGet (optional):

  1. Open Microsoft Visual Studio and create a new project or open an existing
  2. Solution Explorer Window –> right click by "References" –> Manage NuGet Packages... –> In the tab "Browse" type "sautinsoft" and find the "sautinsoft.pdffocus"
  3. Install using nuget

  4. Select the desired version API and click "Install"

The selected API will be downloaded and referenced in your project. All dependencies are already installed automatically.

Using Manage NuGet Packages you can also update «PDF Focus .Net» to the desired version.


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

  1. First of all, download the PDF Focus .Net package. Unzip it at any place in your computer and find the assembly file "SautinSoft.PdfFocus.dll"
  2. Open Microsoft Visual Studio and create a new project or open an existing project
  3. Solution Explorer Window –> right click by "Dependencies" –> Add Project References –> In the tab "Browse" find the "SautinSoft.PdfFocus.dll"
  4. Install adding reference

    Note
    SautinSoft.PdfFocus.dll assemblies compiled for old .NET Framework 4.6.1 - 4.8.1 are located inside (pdf_focus_net.zip –> PDF Focus .Net (X.X.X.X)\Bin\.NET Framework X.X) folder.
    SautinSoft.PdfFocus.dll assemblies compiled for old .NET Core 2.0 - 3.1, .NET 5 are located inside (pdf_focus_net.zip –> PDF Focus .Net (X.X.X.X)\Bin\.NET Standard 2.0) folder.
    SautinSoft.PdfFocus.dll assemblies compiled for new .NET 6 and up are located inside (pdf_focus_net.zip –> PDF Focus .Net (X.X.X.X)\Bin\.NET X.X) folder.

  5. Once you have referenced SautinSoft.PdfFocus.dll, add these (or newer) dependencies to your project:
    .NET Standard 2.0, .NET Core 2.0 or up, .NET 5 or up:
    • dependency id="System.IO.Packaging" version="4.4.0"
    • dependency id="System.Text.Encoding.CodePages" version="4.5.0"
    • dependency id="System.Xml.XPath.XmlDocument" version="4.3.0"
    • dependency id="System.Drawing.Common" version="4.7.3"
    • dependency id="Microsoft.IO.RecyclableMemoryStream" version="2.3.2"
    • dependency id="System.Security.Cryptography.Pkcs" version="6.0.4"
    • dependency id="System.Configuration.ConfigurationManager" version="4.7.0"
    • dependency id="Svg.Skia" version="1.0.0.3"
    • dependency id="SkiaSharp" version="2.88.6"

    .NET Framework 4.6.1 - 4.8.1:
    • dependency id="System.IO.Packaging" version="4.4.0"
    • dependency id="System.Text.Encoding.CodePages" version="4.5.0"
    • dependency id="System.Xml.XPath.XmlDocument" version="4.3.0"
    • dependency id="System.Drawing.Common" version="4.7.3"
    • dependency id="Microsoft.IO.RecyclableMemoryStream" version="2.3.2"
    • dependency id="System.Security.Cryptography.Pkcs" version="6.0.4
    • dependency id="System.Configuration.ConfigurationManager" version="4.7.0"
    • dependency id="Svg.Skia" version="1.0.0.3"
    • dependency id="SkiaSharp" version="2.88.6"

Above we mentioned about the minimal versions of the dependencies, actually you can use newer versions.


If you need a new code example or have a question: email us at support@sautinsoft.com or ask at Online Chat (right-bottom corner of this page) or use the Form below:



Questions and suggestions from you are always welcome!

We are developing .Net components since 2002. We know PDF, DOCX, RTF, HTML, XLSX and Images formats. If you need any assistance with creating, modifying or converting documents in various formats, we can help you. We will write any code example for you absolutely free.