XtremeDocumentStudio .NET
Next-generation multi-format document-processing component suite for .NET developers
Visual Studio 2010/2012/2013/2015

Print PDF, DOC, DOCX and images with XtremeDocumentStudio .NET's multi-format document printer control

Learn to create a simple multi-format document-printing application in C#.

XtremeDocumentStudio .NET is the next-generation multi-format document-processing framework from Gnostice for .NET developers. It provides a single unified API to process multiple formats - PDF, DOCX, DOC, BMP, JPEG, PNG, WMF, EMF, and single-page and multi-page TIFF - without requiring external software such as Microsoft Word, Open XML SDK, Word Automation Services, Adobe PDF library or GhostScript.

One of its main capabilities is multi-format document printing. In this article, you will learn how to create a simple document printer application with XtremeDocumentStudio .NET.

  1. Open Visual Studio and create a new Windows Forms project.
  2. Drop the following components on the form.
    1. System.Windows.Forms.Button
    2. System.Windows.Forms.OpenFileDialog
    3. Gnostice.Documents.Controls.WinForms.DocumentPrinter
  3. Double-click the button and add the following code to print a document selected by the user.
    documentPrinter1.PageScaling =
    openFileDialog1.FileName = "";
    openFileDialog1.Filter = "DOCX Files(*.docx)|*.docx;|All files (*.*)|*.*";
    if (openFileDialog1.ShowDialog() == DialogResult.OK) {
  4. In the form constructor, activate the license of the document printer component using your key.
    If you are using the trial version, you can use the key from XtremeDocumentStudio downloads page. If you are using a registered version, please use the license key from the delivery note you received after purchasing the product.
  5. Run the application to print the document.


Our .NET Developer Tools
XtremeDocumentStudio .NET

Multi-format document-processing component suite for .NET developers.


A .NET PDF component suite to create, edit, view, print, reorganize, encrypt, annotate, and bookmark PDF documents in .NET applications.

Our Delphi/C++Builder developer tools
XtremeDocumentStudio Delphi

Multi-format document-processing component suite for Delphi/C++Builder developers, covering both VCL and FireMonkey platforms.

eDocEngine VCL

A Delphi/C++Builder component suite for creating documents in over 20 formats and also export reports from popular Delphi reporting tools.

PDFtoolkit VCL

A Delphi/C++Builder component suite to edit, enhance, view, print, merge, split, encrypt, annotate, and bookmark PDF documents.

Our Java developer tools
XtremeDocumentStudio (for Java)

Multi-format document-processing component suite for Java developers.

PDFOne (for Java)

A Java PDF component suite to create, edit, view, print, reorganize, encrypt, annotate, bookmark PDF documents in Java applications.

Our Platform-Agnostic Cloud and On-Premises APIs

Cloud-hosted and On-Premises REST-based document-processing and document-viewing APIs

Privacy | Legal | Feedback | Newsletter | Blog | Resellers © 2002-2018 Gnostice Information Technologies Private Limited. All rights reserved.