Creating PDF/X compatible PDF (.NET Core/Framework)

Creating PDF/X compatible PDF using DynamicPDF Core Suite is straightforward.

How to Create PDF/X compatible PDF in C#

The following steps and sample code illustrate creating PDF/X compatible PDF document using DynamicPDF Core Suite.

Steps for Creating PDF/X compatible PDF Document

  1. Create a Document object.
  2. Create a Page object and add it to the Document instance.
  3. Create a IccProfile object.
  4. Create a OutputIntent object and specify the parameters along with the IccProfile object.
  5. Add the OutputIntent to the Document instance.
  6. Save the PDf document.

Sample Code - C#

Document document = new Document();
document.Title = "PDF/X-1a Document";
document.PdfVersion = PdfVersion.v1_4;
document.PdfXVersion = PdfXVersion.PDF_X_1a_2003;
document.Pages.Add(new Page());
IccProfile iccProfile = new IccProfile(@"USWebCoatedSWOP.icc");
OutputIntent outputIntent = new OutputIntent("CGATS TR 001-1995 (SWOP)", "CGATS TR 001", "http://www.color.org", "U.S. Web Coated (SWOP) v2", iccProfile);
document.Trapped = Trapped.False;

Over 75 Page Elements

DynamicPDF Generator contains over 75 page elements so you can add rich content to the PDFs you create:

  • Images
  • Text Objects (TextArea and Label)
  • HTML
  • Barcodes (47 types)
  • Form Fields
  • Charts

Getting Started

NuGet Package

DynamicPDF Core Suite is available on NuGet and is part of the ceTe.DynamicPDF.CoreSuite.NET package. The easiest way to install the package is through the Visual Studio Package Manager. You can also download the package directly from NuGet.

NuGet Package ID: ceTe.DynamicPDF.CoreSuite.NET

DynamicPDF Core Suite Information

More information can be found on the DynamicPDF Core Suite webpage.

Available on Other Platforms

DynamicPDF Core Suite is available for the Java and COM/ActiveX platforms. Refer to the respective product pages for more details.

Why Choose DynamicPDF?

  • Transparent Pricing
  • Lots of Features
  • Easy to Use
  • Great Support
  • Efficient Performance
  • Product Maturity (Over 22 Years)
  • Free Evaluation
  • .NET Core Support (Most Products)
  • Flexible Licensing

We’re Not The Only Ones That Think We’re Great!