Documentize Releases

Tip

To begin using the Documentize SDK, you have multiple options for downloading the binaries onto your system. Please select the method that best aligns with your specific needs.

Warning

By downloading Documentize SDK in any form, you agree to the Smallize EULA.

Get from NuGet

The simplest way to get started with Documentize is by installing the .NET package directly from NuGet. Here are a few quick methods to do so. For more details, visit the NuGet installation guide.

dotnet add package Documentize
NuGet\Install-Package Documentize
<PackageReference Include="Documentize" Version="24.x.x" />

Download MSI Installer

Another option to obtain Documentize is by downloading the MSI package, which installs the necessary assemblies (DLLs). Simply click the following download button or learn more about this installation method at MSI installation guide.

    Download ZIP

    You can also download ZIP package containing the DLL files only which you may store in any way you desir. Learn more about it at ZIP installation guide.

      Sep 13, 2024

      Subsections of Documentize Releases

      About Documentize

      What is Documentize?

      Documentize is a robust .NET component that empowers developers to create professional and versatile PDF documents programmatically, eliminating the need for external tools like Adobe Acrobat.

      Why Use Documentize?

      Here’s why Documentize stands out:

      • Effortless PDF Creation: Generate simple or complex PDFs on the fly, incorporating elements like tables, graphs, images, hyperlinks, and custom fonts.
      • Enhanced Security: Integrate robust security features to safeguard your sensitive PDF documents.
      • Flexible Development Options: Choose between creating PDFs using either a user-friendly API or XML templates for a streamlined workflow.
      • Simplified Integration: Documentize seamlessly integrates with various .NET applications, including ASP.NET web apps and Windows applications, written in languages like C#, VB.NET, and J#.
      • Fast and Efficient: The lightweight component generates PDFs efficiently, optimizing your application’s performance.
      • Cost-Effective and Supported: Enjoy a competitive price point, exceptional performance, and comprehensive support for a smooth development experience.

      Key Features

      • Rich Content Support: Add tables, graphs, images, hyperlinks, custom fonts, and more to your PDFs.
      • Compression Capabilities: Reduce the file size of your PDFs for easier storage and distribution.
      • Advanced Security: Implement security features to protect confidential information within your PDF documents.
      • Dual Creation Methods: Create PDFs using either a programmatic API or XML templates for added flexibility.
      • Cross-Platform Compatibility: Works seamlessly with various .NET languages and application types.
      • Multithreading Support: Enables safe concurrent creation of multiple PDFs on different threads.
      • Learning Resources: Access comprehensive demos and working examples in C# to expedite your development process.

      Ideal Choice for Diverse Industries

      Documentize caters to a wide range of industries where PDF generation plays a crucial role. These include:

      • Finance and Accounting: Generate invoices, receipts, financial reports, and other critical documents.
      • Healthcare: Create patient records, prescriptions, and lab reports in a secure and standardized format.
      • Manufacturing: Produce product specifications, quality control reports, and shipping documents.
      • Government and Legal: Generate permits, licenses, contracts, and court documents with enhanced security features.
      • Education: Create certificates, transcripts, reports, and other academic documents.

      Documentize empowers developers across various industries to streamline their PDF creation workflows, ensuring efficiency, security, and flexibility.

      Aug 12, 2024

      Evaluate

      Evaluate Documentize for .NET

      You can easily download Documentize for .NET for evaluation. The evaluation download is the same as the purchased download. The evaluation version simply becomes licensed when you add a few lines of code to apply the license.

      The evaluation version of Documentize (without a license specified) provides full product functionality, but it has two limitations: it inserts an evaluation watermark, and only four elements of any collection can be viewed/edited.

      If you want to test Documentize for .NET without the evaluation version limitations, you can also request a 30-day Temporary License. Please refer to How to get a Temporary License?

      Aug 8, 2024

      Installation

      Installation of Documentize SDK

      Documentize can be installed through multiple methods, each tailored to different development environments and preferences. Below are the recommended ways to install Documentize:

      1. NuGet (Preferred Method)

      NuGet is the most straightforward and preferred method for installing Documentize, ensuring that you always have the latest version and updates directly within your development environment. Check more details about this installation method at How to install Documentize SDKs using NuGet.

      2. MSI Installer

      The MSI installer is a convenient option if you prefer to have the Documentize DLLs installed directly onto your system. This method is ideal for developers who may want to use Documentize across multiple projects without needing to manually manage DLL files. Check more details about this installation method at How to install Documentize SDKs using MSI.

      3. ZIP Archive

      For developers who prefer a manual approach, the ZIP archive contains the Documentize DLLs, which can be extracted and added to your project directly. Check more details about this installation method at How to install Documentize SDKs using ZIP.

      Aug 12, 2024

      Subsections of Installation

      Installing Documentize via NuGet


      Tip

      NuGet is a free, open-source package manager for .NET that simplifies adding, removing, and updating libraries in Visual Studio projects. It manages library files, references, and configuration changes automatically.

      How to Install via NuGet Package Manager Console

      1. Open Your Project:

        • Launch Visual Studio and open your .NET application.
      2. Access the Package Manager Console:

        • Navigate to Tools > NuGet Package Manager > Package Manager Console.
      3. Install the Package:

        • To install the latest full release, enter the command Install-Package Documentize.
        • To install the latest release including hot fixes, use Install-Package Documentize -prerelease.
        • Press Enter to execute the command.

      How to Update Package via NuGet Package Manager Console

      If you have already installed Documentize via NuGet and want to update to the latest version:

      1. Open Your Project:

        • Launch Visual Studio and open your .NET application.
      2. Access the Package Manager Console:

        • Navigate to Tools > NuGet Package Manager > Package Manager Console.
      3. Update the Package:

        • To update to the latest full release, enter Update-Package Documentize.
        • To update to the latest release including hot fixes, use Update-Package Documentize -prerelease.
        • Press Enter to execute the command.

      How to Install via NuGet Package Manager GUI

      1. Open Your Project:

        • Launch Visual Studio and open your .NET application.
      2. Navigate to Manage NuGet Packages:

        • From the Project menu, select Manage NuGet Packages.
      3. Search for Documentize:

        • Go to the Browse tab and enter Documentize into the search box.
      4. Install the Package:

        • Click Install/Update next to the latest version of Documentize.
        • Confirm by clicking Accept in the pop-up window.

      Pros of Using the NuGet

      • Automatic Dependency Management:

        • NuGet automatically handles dependencies, ensuring that all required libraries are included and updated correctly. This reduces the risk of missing or incompatible dependencies.
      • Simplified Updates:

        • Updating packages is straightforward with NuGet, either through the Package Manager Console or GUI. This makes it easy to keep your libraries up-to-date with the latest features and bug fixes.
      • Integrated with Visual Studio:

        • NuGet is seamlessly integrated with Visual Studio, providing a user-friendly interface for managing packages without leaving the development environment.
      • Versioning:

        • NuGet allows you to specify and manage different versions of libraries, enabling you to easily revert to previous versions or test new releases without disrupting your development.

      Cons of Using the NuGet

      • Limited to Visual Studio:

        • NuGet is primarily designed for use within Visual Studio. While it can be used in other environments, the integration is most robust in Visual Studio.
      • Potential for Version Conflicts:

        • In larger projects with many dependencies, managing versions and resolving conflicts can become complex. NuGet provides tools to manage this, but it requires careful attention.
      • Network Dependency:

        • Installing and updating packages requires an internet connection. If you’re working in an environment with restricted or no internet access, you may need to use offline methods or pre-download packages.
      • Complexity for Large Projects:

        • For very large projects with extensive dependency trees, the overhead of managing packages through NuGet can become cumbersome. In such cases, additional tools or strategies may be needed to manage dependencies effectively.

      Installing Documentize via MSI

      Tip

      The MSI installer is a convenient and user-friendly option for installing Documentize, particularly if you prefer to have the DLLs installed system-wide. This method simplifies the installation process by automating many of the steps involved.

      How to Install via MSI Installer

      1. Download the MSI Installer:

        • Click the to download the MSI installer for the latest version of Documentize.
      2. Run the Installer:

        • Double-click the downloaded MSI file to launch the installation wizard.
      3. Follow the Installation Wizard:

        • Follow the on-screen instructions provided by the installer. You may need to agree to the license agreement and select installation options.
      4. Complete the Installation:

        • Once the installation is complete, the Documentize DLLs will be installed into your system’s Global Assembly Cache (GAC) or another specified location.
      5. Verify Installation:

        • Check that the DLLs are correctly installed by verifying their presence in the designated installation directory or GAC.

      Pros of Using the MSI Installer

      • Ease of Use:

        • The MSI installer provides a simple and guided installation process. It handles all necessary configurations and places the DLLs in a central location, making it easy to use Documentize across multiple projects.
      • System-wide Installation:

        • The MSI method installs Documentize into the system’s Global Assembly Cache (GAC) or another central location. This allows any application on the system to access the DLLs without needing to reference them individually in each project.
      • Automated Updates:

        • If Documentize provides an updated installer, you can easily update your installation by running the new MSI file, which typically handles the update process smoothly.
      • Consistency:

        • Using the MSI installer ensures that all required files are installed correctly and consistently across different environments, reducing the risk of missing or misplaced DLLs.

      Cons of Using the MSI Installer

      • Limited Flexibility:

        • The MSI installer installs Documentize to a system-wide location, which may not be suitable for all development environments. It may lack the flexibility to accommodate project-specific configurations or versions.
      • Potential Overhead:

        • Installing DLLs to the GAC can introduce overhead and complexity, particularly in scenarios where multiple versions of Documentize might be needed simultaneously.
      • Manual Removal:

        • If you need to uninstall Documentize, you must use the uninstaller provided by the MSI, which may leave residual files or configurations behind if not properly managed.
      • Version Conflicts:

        • System-wide installations can lead to version conflicts if different projects require different versions of Documentize. Managing these conflicts may require additional configuration or cleanup.

      Installing Documentize via ZIP

      Tip

      The ZIP archive is ideal for developers who prefer a manual approach to managing libraries. This method allows you to directly download and extract the necessary DLL files without relying on a package manager or installer.

      How to Install via ZIP Archive

      1. Download the ZIP Archive:

        • Click the to download the latest version of Documentize in an archive format.
      2. Extract the Contents:

        • After downloading, extract the contents of the ZIP file to a directory of your choice. You can choose to keep these files in a shared directory or within your project structure.
      3. Add References to Your Project:

        • Open your project in your IDE (e.g., Visual Studio).
        • Go to Project > Add Reference > Browse and navigate to the directory where you extracted the DLLs.
        • Select the relevant DLL files and add them as references to your project.
      4. Manual Updates:

        • If a new version of Documentize is released, you will need to manually download the updated ZIP archive and replace the old DLL files in your project with the new ones.

      Pros of Using the ZIP Archive

      • Complete Control:

        • You have full control over where and how the DLLs are stored and referenced in your project. This can be beneficial if you prefer a custom setup or need to manage dependencies manually.
      • No Dependency on Package Managers:

        • Unlike NuGet, you don’t rely on a package manager to handle installations. This can be advantageous in environments where package managers are not available or preferred.
      • Portability:

        • The ZIP archive can be easily shared and moved across different systems, making it ideal for projects that need to be portable or distributed without relying on external tools.

      Cons of Using the ZIP Archive

      • Manual Management:

        • Unlike NuGet, where updates and dependency management are automated, with the ZIP archive, you must manually manage updates and ensure that all required DLLs are correctly referenced.
      • Risk of Version Conflicts:

        • If you’re managing multiple projects or working in a team, there’s a risk of version conflicts if different projects use different versions of the DLLs. This requires careful tracking of versions across projects.
      • No Automatic Updates:

        • You won’t receive automatic updates or notifications when a new version is available. This can lead to the risk of using outdated libraries unless you regularly check for updates.

      Non-Windows Environment

      Working with .NET Core DLLs in Non-Windows Environment

      As Documentize for .NET provides .NET Standard 2.0 (.NET Core 2.0) support, it can be used in Core Applications running in Linux-like operating systems. We are constantly working on improving the .NET Core support in our API. However, there are some operations which we recommend our customers perform to get better results while using features of Documentize for .NET. Please install:

      • libgdiplus package
      • Package with Microsoft-compatible fonts: ttf-mscorefonts-installer (e.g., sudo apt-get install ttf-mscorefonts-installer). These fonts should be placed in /usr/share/fonts/truetype/msttcorefonts directory as Documentize for .NET scans this folder on Linux-like operating systems. In case the operating system has another default folder/directory for fonts, you should use the following line of code before performing any operation using Documentize:
        Documentize.Pdf.Text.FontRepository.Sources.Add(new FolderFontSource("<user's path to ms fonts>"));

      What's New

      v24.5

      • Added the PDF/A Converter for .NET plugin
      • Added search through a list of phrases

      v24.8

      • Supports applying a clipping mask to images
      • Choose paper source by PDF page size
      Sep 13, 2024

      Subsections of What's New

      v24.5

      Added the PDF/A Converter for .NET plugin

          var options = new PdfAConvertOptions
          {
              PdfAVersion = PdfAStandardVersion.PDF_A_3B
          };
      
          // Add the source file
          options.AddInput(new FileDataSource("path_to_your_pdf_file.pdf")); // replace with your actual file path
      
          // Add the path to save the converted file
          options.AddOutput(new FileDataSource("path_to_the_converted_file.pdf"));
      
          // Create the plugin instance
          var plugin = new PdfAConverter();
      
          // Run the conversion
          plugin.Process(options);

      Added search through a list of phrases

          var regexes = new Regex[]
          {
          new Regex(@"(?s)document\s+(?:(?:no\(?s?\)?\.?)|(?:number(?:\(?s\)?)?))\s+(?:(?:[\w-]*\d[\w-]*)+(?:[,;\s]|and)*)+", RegexOptions.IgnoreCase),
          new Regex(@"[\s\r\n]+Tract[\s\r\n]+of:?", RegexOptions.IgnoreCase),
          new Regex(@"vested[\s\r\n]+in", RegexOptions.IgnoreCase),
          new Regex("Vested in:", RegexOptions.IgnoreCase),
          new Regex(@"file.?[\s\r\n]+(?:nos?|numbers?|#s?|nums?).?[\s\r\n]+(\d+)-(\d+)", RegexOptions.IgnoreCase),
          new Regex(@"file.?[\s\r\n]+nos?.?:?[\s\r\n]+([\d\r\n-]+)", RegexOptions.IgnoreCase)
          };
          var document = new Document(input);
          var absorber = new TextFragmentAbsorber(
          regexes,
          new TextSearchOptions(true)
          );
          document.Pages.Accept(absorber);
          // Get result
          var result = absorber.RegexResults
      Aug 11, 2024

      v24.8

      Supports applying a clipping mask to images

          Document doc = new Document("input.pdf");
          using (var fs1 = new FileStream("mask1.jpg", FileMode.Open))
          using (var fs2 = new FileStream("mask2.png", FileMode.Open))
          {
              doc.Pages[1].Resources.Images[1].AddStencilMask(fs1);
              doc.Pages[1].Resources.Images[2].AddStencilMask(fs2);
          }

      Choose paper source by PDF page size

      Beginning with Aspose.PDF 24.4 this preference can be switched on and off using the Document.PickTrayByPdfSize property or the PdfContentEditor facade:

          using (Document document = new Document())
          {
              Page page = document.Pages.Add();
              page.Paragraphs.Add(new TextFragment("Hello world!"));
      
              // Set the flag to choose a paper tray using the PDF page size
              document.PickTrayByPdfSize = true;
              document.Save("result.pdf");
          }