ImageGear PDF v25.2 - Updated
Samples and Demos
Getting Started > Samples and Demos

Most use cases of ImageGear PDF are illustrated as either samples or demos and are placed in the Samples directory of the product.

If you are evaluating ImageGear PDF, you will notice that an Evaluation dialog will appear intermittently. Click Evaluate to dismiss the dialog and continue evaluating ImageGear. See Evaluation Licensing for more information.

Samples

ImageGear PDF has the following samples (organized by category):

ART Annotations

Samples Location: $INSTALLDIR\Samples\Source Code\[CSharp|VBNET]\[VS2015|VS2017|VS2019]\ART\...

Name

GUI

This Sample Demonstrates...

Languages

IDEs

AddWatermarkToPDFPage

WinForms

Watermarking a PDF document by adding:

  • A translucent PDF FreeText annotation that says "DRAFT" across the top of the page.
  • A PNG image placed in the center of the page.

Images that support alpha channel transparency may be used.

C#, VB.NET

VS2015
VS2017
VS2019

Licensing

Sample Location: $INSTALLDIR\Samples\Source Code\[CSharp|VBNET]\[VS2015|VS2017|VS2019]\Licensing\...

Name

GUI

This Sample Demonstrates...

Languages

IDEs

OEMLicensing Console How to apply an OEM license using the ImageGear .NET API. C#, VB.NET VS2015
VS2017
VS2019

OCR

Samples Location: $INSTALLDIR\Samples\Source Code\[CSharp|VBNET]\[VS2015|VS2017|VS2019]\OCR\...

For convenience, we added identical sample projects created with different versions of Visual Studio.

Name

GUI

This Sample Demonstrates...

Languages

IDEs

OCRtoTextOrPDF WinForms

How to perform OCR on an image file and output the resulting text to either a PDF or a TXT file.

C#, VB.NET VS2015
VS2017
VS2019
OCRUsingZones WinForms

How to perform OCR using zones and output the recognized text to a textbox.

C#, VB.NET VS2015
VS2017
VS2019
OCRLanguageSelection WinForms

How to enable / disable languages before performing OCR and sending the resulting data to a text box.

C#, VB.NET VS2015
VS2017
VS2019
OCRImagePDF WinForms How to recognize Image PDF and save as PDF file with image over text. C#, VB.NET VS2015
VS2017
VS2019

PDF and PostScript

Samples Location: $INSTALLDIR\Samples\Source Code\[CSharp|VBNET]\[VS2015|VS2017|VS2019]\PDF\...

For convenience, we added identical sample projects created with different versions of Visual Studio.

Name

GUI

This Sample Demonstrates...

Languages

IDEs

AddAndVerifyPDFSignatures Console How to add and verify digital signatures on a PDF document. C#, VB.NET VS2015
VS2017
VS2019

ConvertPDFtoSVG

WinForms

How to convert a PDF document to a SVG using Accusoft's API.  

C#, VB.NET

VS2015
VS2017
VS2019

CreatePDFForm Console How to create and populate form fields on a new PDF. C#, VB.NET

VS2015
VS2017
VS2019

ExtractFormFieldData Console How to extract form field data from PDF files.

C#, VB.NET

VS2015
VS2017
VS2019

ExtractTextFromPDF

WinForms

How to extract the text content from a PDF document and save it as a text file.

C#, VB.NET

VS2015
VS2017
VS2019

PDFMerge

WinForms

How to merge two PDF documents into a one PDF document.

C#, VB.NET

VS2015
VS2017
VS2019

PDFSecurity

WinForms

How to manage PDF security three ways:

  • Open a password-protected PDF file
  • Write an encrypted password-protected PDF file
  • Remove the encryption and password from a PDF file

C#, VB.NET

VS2015
VS2017
VS2019

PDFToText Console How to extract text from any PDF document. C#, VB.NET VS2015
VS2017
VS2019

SaveCompressedPDF

Console

How to save a compressed PDF document.

C#, VB.NET

VS2015
VS2017
VS2019

SavePDFtoImageGUI

WinForms

How to read a PDF document page by page, index, rasterize a page, and store the raster page as JPEG file.   

C#, VB.NET

VS2015
VS2017
VS2019

SplitPDFUsingMultipleThreads

Console

How to split PDFs using multiple threads.

C#, VB.NET

VS2015
VS2017
VS2019

VerifyAndConvertToPDFA

WinForms

How to convert a PDF document into a PDFA standard and how to verify compliance with ISO-standard PDFA-1a.

C#, VB.NET

VS2015
VS2017
VS2019

SavePDFtoMultiPageTIF.WPF

WPF

Converting a PDF into a multi-page TIF using WPF controls.

C#, VB.NET

VS2015
VS2017
VS2019

Demos

ImageGear PDF has the following :

ART Annotations

Demo Location: $INSTALLDIR\Samples\Source Code\[CSharp|VBNET]\[VS2015|VS2017|VS2019]\ART\...

Name

GUI

This Demonstrates...

Languages

IDEs

AnnotateImageAndPDF_WPF WPF How to annotate images and PDF with ART marks. C#, VB.NET VS2015
VS2017
VS2019

PDF

Demo Location: $INSTALLDIR\Samples\Source Code\[CSharp|VBNET]\[VS2015|VS2017|VS2019]\PDF\...

For convenience, we added identical demo projects created with different versions of Visual Studio.

Name

GUI

This Demonstrates...

Languages

IDEs

EditFormFieldAppearances

WinForms

How to modify the visual appearance of fields and their annotations, such as, border color, style, and text color.

C#, VB.NET

VS2015
VS2017
VS2019

Is this page helpful?
Yes No
Thanks for your feedback.