Skip to main content

DynamicPDF Blog

Practical ideas, product updates, and engineering notes for building better document workflows.

32 posts tagged with ".NET"

.NET related posts

View All Tags

Parallel Processing Using DynamicPDF HTML Converter

· 7 min read
James A. Brannan
Developer Evangelist

DynamicPDF HTML Converter for .NET often takes between 1 and 5 seconds to convert a single HTML document to PDF, depending on factors such as network download time, page complexity, and overall processing requirements. This is expected because the HTML Converter uses the Chromium rendering engine to fully process HTML documents before generating the PDF output.

When processing large numbers of HTML documents, total conversion time can quickly grow if documents are converted sequentially. For example, converting thousands of HTML files one at a time could easily require hours of processing time. In these scenarios, using parallel processing and batch execution can significantly improve overall throughput and reduce total conversion time.

Dynamic Columns and Designer Reports - Part Two

· 11 min read
James A. Brannan
Developer Evangelist

DynamicPDF Designer is a powerful graphical editing tool for creating a DLEX XML specification that, when processed, creates a PDF document. You can also programmatically create a DLEX specification to format a report dynamically. Here, we show how to dynamically create a columnar report.

This post is part two of a two-part blog post. In this post, we programmatically add columns to a DLEX from (almost) scratch.

In the last post (Dynamic Columns and Designer Reports - Part One), we modified an existing DLEX file to remove and move columns in an existing DLEX document. But many times, you might wish to create a DLEX programmatically from scratch. Here, we illustrate making a DLEX file dynamically from a bare-bones DLEX document.

caution

Creating and modifying a DLEX from scratch is tedious and error-prone. If possible, you should use DynamicPDF Designer Online.

We start with a bare-bones DLEX file, report-with-cover-page.json, and use the DynamicPDF API C# Client library, available on GitHub or as a NuGet package.

We use the client library to create a PDF using the pdf endpoint. We also use Microsoft's System.XML namespace.

Dynamic Columns and Designer Reports - Part One

· 13 min read
James A. Brannan
Developer Evangelist

DynamicPDF Designer is a powerful graphical editing tool for creating a DLEX XML specification that, when processed, creates a PDF document. You can also programmatically modify a DLEX specification to format a report dynamically. Here, we show how to dynamically change a report to remove columns when creating a columnar report.

This is part one of a two-part blog post. In this post we programmatically modify an existing DLEX. In the next post we create that DLEX from scratch.

Client Libraries Now Available

· One min read
Andrew Cochran
Founder and CEO

Open source client libraries are now available for Node.js, .NET, Java and PHP. Client libraries make using the DynamicPDF API a breeze. We plan to introduce client libraries for other languages, such as Go, over the next few months. Our client libraries will also be available via package managers shortly to simplify the installation process.

Convert HTML to PDF Using DynamicPDF HTML Converter

· 12 min read
James A. Brannan
Developer Evangelist

The DynamicPDF HTML Converter product is available and included with any of our subscription plans (subscription pricing). You can also use DynamicPDF HTML Converter free if you accept a small footer stating "Created with the DynamicPDF Essentials Edition" and link to the DynamicPDF website from a public area of your website. DynamicPDF HTML Converter supports the following features,

  • quickly converts HTML to PDF,
  • supports the latest HTML, CSS, and JavaScript,
  • works with files, byte arrays, and URLs,
  • supports custom headers and footers,
  • supports .NET Framework and .NET Core (including Linux),
  • and supports a transparent pricing model.