Spire.PDF for .NET

.NET PDF API - Developing PDF in C#, VB.NET, ASP.NET

  • Overview
  • Features
  • Examples
  • Guideline
  • Support
  • What's New
  • Live Demo

Reliable .NET PDF Processing API

Over 1,000,000 Developers Are Already Using Our Libraries
To Create Their Amazing Applications.

Spire.PDF for .NET is a professional PDF API applied to creating, writing, editing, handling and reading PDF files without any external dependencies within .NET (C#, VB.NET, ASP.NET, .NET Core, .NET 5.0, .NET 6.0, .NET 7.0, MonoAndroid and Xamarin.iOS) application. Using this .NET PDF library, you can implement rich capabilities to create PDF files from scratch or process existing PDF documents entirely through C#/VB.NET without installing Adobe Acrobat.


Many rich features can be supported by the .NET PDF API, such as adding digital signature, including timestamp in signature, adding dynamic/image stamp, adding text/image watermark, creating PDF Portfolio, extracting text/attachment/images, PDF merging/spliting, metadata updating, section, graph/image drawing and inserting, table creation and processing, cropping pages, copying pages, and importing data etc.


Spire.PDF for .NET can be applied to easily converting PDF to Word Doc/Docx, Excel, PowerPoint, Images, HTML, Markdown, XPS, SVG, TIFF, PCL, PostScript and PDF/A etc. It also supports to convert Text, Images, TIFF, XPS, SVG and HTML to PDF with C#/VB.NET in high quality.

  • Convert

  • Compress

  • Extract

  • Protect

  • eSign

  • Form

  • Watermark

  • Merge & Split

  • Layer

  • Adjust

Convert PDF to Word

PDF is considered an ideal file format for document sharing and printing, but it is difficult to edit. If you want to modify the text in a PDF file, you can convert it to Word.

Compress PDF

Compressing PDFs can reduce their size by 10 to 100 times, thus saving you a lot of storage space and making PDF documents easier to transfer over the Internet.

Extract Text and Images

When you just need to get the information in a PDF document regardless of its format and structure, you can simply extract the text and images from the document.

PDF Encryption

PDF encryption is a crucial task when it comes to sharing confidential documents on the Internet. Using Spire.PDF, you can set a password to restrict access to your PDF file, or set permissions to define what actions users can perform on the document.

Digitally Sign PDF

A digital signature provides assurances about the validity and authenticity of your PDF documents. Once a PDF document is digitally signed, any changes to the document will invalidate the signature.

Create a Form

Form fields make it easier to collect information. Users can enter information by choosing an item from a drop-down list, inserting text in a combo box, or checking a check box.

Add a Watermark to PDF

Watermarks in PDFs serve many important purposes, such as identifying the document's owner, indicating its status and preventing unauthorized copying and distribution.

Merge and Split PDF

Sometimes, you might need to merge multiple PDF files into one in order to store and review them easier. Likewise, you may also want to split a PDF file into individual files and share them with others separately.

Add Layers to PDF

PDF layer is an interactive feature for PDF documents that allows some part of the content to be made visible or hidden. Layers are used for items such as CAD drawings, layered artwork, maps, and multi-language documents.

Change PDF Page Size

By adjusting the page size of a PDF document, you can easily get a better document appearance or make the page size match the printing paper.

.NET

Standalone .NET API

100% independent .NET PDF class library
which doesn't require Adobe Acrobat
to be installed on system.

VERSION

  • PDF 1.2 to PDF 1.7
  • PDF/A - 1b
  • PDF/x1a
  • PDF/A1
  • PDF/A2
  • PDF/A3
  • PDF/UA

FONT

  • 14 Core Fonts
  • Type 1 Fonts
  • Type 3 Fonts
  • CJK Fonts
  • True Type Fonts
  • Unicode Support

OPERATION

Powerful Toolset, Multichannel Support

  • Create, get and verify, remove digital signature

  • Encrypt and Decrypt PDF file

  • Image and Shape

  • Create & Fill Form Field

  • Merge and Split PDF document

  • Manage attachment

  • Manage bookmark

  • Manage annotation

  • Text & image watermark

  • Find & Highlight

  • Insert Hyperlink

  • Compress PDF

  • Extract text and image

  • Header and Footer

  • Create & Format Table

  • Print PDF file

  • Tagged PDF

CONVERSION

Convert File Documents with High Quality

  • SVG

  • TXT

  • XPS

  • HTML

  • Image

PDF

  • PPTX

  • Excel

  • Word

  • PCL

  • PDF/A

  • PNG

  • BMP

  • JPEG

  • EMF

  • TIFF

MAIN FUNCTION

High Fidelity PDF file Conversion

Spire.PDF for .NET supports converting HTML, XPS, Text, Image to PDF, and converting PDF to Excel with efficient performance. Developers can transform PDF to Word, XPS, SVG, EMF, JPG, PNG, BMP, TIFF, HTML, Markdown, PostScript, PCL (Printer Command Language) and Text format. Furthermore, along with Spire.Doc for .NET and Spire.XLS for .NET, developers can convert Word (Doc/Docx), Excel (Xls/Xlsx) and XML to PDF.

Easily Manipulate document and Form fields

Spire.PDF for .NET offers the facility to merge/split PDF documents and overlay documents. Meanwhile, Spire.PDF for .NET can provide import/export PDF form data, stamp feature, booklet feature and form filling which can help users read value from form fields and populate a database.

Security features

Spire.PDF for .NET can protect PDF documents by setting passwords, adding digital signature and including timestamp in signature. User password and owner password can determine the encrypted PDF documents readability, modifiability, printability and other selective restrictions. Meanwhile, digital signature, as a more effective method, can be applied to safeguard and authenticate PDF documents.

Extract data from Pdf documents

Spire.PDF for .NET can be used to extract images, text, pages, tables, form field values and attachments from a PDF document with great speed and accuracy.

Document Settings features

Document information can be set with Spire.PDF for .NET including custom metadata, document properties, change page size, get page size, orientation and potation of PDF. Wherein, document properties consist of document restrictions (printing, document assembly, page extraction, comment etc. allowed or not) and document description about file title, author, subject, keywords and so on. By using Spire.PDF for .NET, viewer preferences can be set with position, title display, resize, page mode and print scaling etc.

Pro Edition $999

Spire.PDF for .NET can be applied to easily convert Text, Image, SVG, HTML to PDF and convert PDF to Excel with C#/VB.NET in high quality.


Free Edition $0

Free version is limited to 10 pages of PDF. This limitation is enforced during loading and creating files. When converting PDF to Image, the first 3 pages of PDF files will be converted to Image format successfully.

GET STARTED

Free Trials for All Progress Solutions

Support Environment

  • Fully written in C# and also support VB.NET
  • Applied on .NET Framework 2.0, 3.5, 3.5 Client Profile, 4.0, 4.0 Client Profile,4.5 and .NET Standard 2.0, .NET Core, .NET 5.0, .NET 6.0, MonoAndroid and Xamarin.Ios.
  • Support Windows Forms and ASP.NET Applications
  • Support 32-bit OS
  • Support 64-bit OS
  • Support PDF Version 1.2, 1.3, 1.4, 1.5, 1.6 and 1.7
  • PDF API reference in HTML
  • Be Independent and do not need Adobe Acrobat or other third party pdf libraries

Conversion

Security

Text

  • Draw Text
  • Set Text Format(font, size, color, layout, rotate, transform, alignment, transparency)
  • Read/Extract Text (Whole Page, Certain Page, Particular Pages)

Fonts

  • 14 Core Fonts
  • Type 1 Fonts
  • Type 3 Fonts
  • True Type Fonts
  • CJK Fonts
  • Unicode Support(Part)

Images

Attachments

  • Add Attachments
  • Add Attachments with Attachments Annotations
  • Remove Attachments
  • Read/Extract Attachments
  • Read/Extract Attachments with Attachments Annotations
  • Get Attachments Properties

Tables

  • Simple Table
  • Image Table
  • Nested Table
  • Export Database Table and Pictures to PDF
  • Set Table Layout

Bookmarks

List

Header and Footer

Watermark

Links and Actions

FormField

  • Add Fields(Text Box, Check Box, List box, Combo Box, Button, Radio Button)
  • Remove Fields
  • Edit Fields
  • Fill Fields

Pages

Document

Feature Details

Feature Support Feature Support
Drawing Text Standards
Text Formatting PDF/ A-1b Compliance
Multilingual Support PDF/x1a: 2001 Compliance
Text Extraction (Only for .NET) Fonts
Graphics Standard Fonts
Pen and Brush CJK Fonts
Layers (Only for .NET) ** True Type Fonts
Transparent Graphics Unicode True Type
Color Spaces ** Images
Image Extraction Scalar Images
Transform Mask
Bar code (Only for .NET) Vector Images
Document Operations Watermarks
Merge Documents Data Management
Split Document (Only for .NET) ADO.Net Tables Support (Only for .NET)
Overlay Documents Rich Table Styles
Import and Stamp Table Features (Only for .NET)
Booklet Page Operations
Document Settings Headers and Footers
Custom Metadata Page Label
Document Properties Automatic Fields
Page Orientation Interactive Elements
Page Sizes Annotation
Viewer Preferences Action
Forms JavaScript
Create Form Attachment
Form Filling Bookmark
Form Export ** Security
Conversion Digital Signature
HTML to PDF Encryption
Doc To PDF (Spire.Doc required) Decryption

** Partial supported

Note: Transparent Graphics is Partial Supported for Silverlight

Request free customized demo just for you.

High Quality Conversion

Convert PDF to DocTutorials / Orginial PDF and Doc file

Convert PDF to Doc

Convert HTML to PDFTutorials / Orginial HTML and PDF file

Convert HTML to PDF

Convert PDF to ImageTutorials / Orginial PDF and Image file

Convert PDF to Image

Convert XPS to PDFTutorials / Orginial XPS and PDF file

Convert XPS to PDF

Convert PDF to XPSTutorials / Orginial PDF and XPS file

Convert PDF to XPS

Table Layout

Set PDF Table LayoutTutorials / C# Code

Set PDF Table Layout

Merge/Split PDF documents

Merge PDF documentsTutorials / C# Code

Merge PDF documents

Split PDF documentsTutorials / C# Code

Split PDF documents

Form Filling

Form FillingTutorials / C# Code

Fill Form Fields in PDF File with C#

Text, Image Extract from PDF

Read Text and Images from PDFTutorials / C# Code

Read Text and Images from PDF

Encrypt, Decrypt, Create PDF Digital Signature in PDF

Encrypt PDF DocumentTutorials / C# Code

Encrypt PDF Document

Create Digital Signature in PDFTutorials / C# Code

Create Digital Signature in PDF

Add PDF Header and Footer

Add PDF HeaderTutorials / C# Code

Add PDF Header

Add PDF FooterTutorials / C# Code

Add PDF Footer

Beginners Guide is the first step towards learning the basic information of Spire.PDF for .NET

Program Guide lists the detailed features of our Spire.PDF for .NET and you can search for the information you want.

The Videos give an operation guide by video. You can check the produce step by step.

Main Functions contain the main features of our Spire.PDF for .NET and you can have brief information of it.

Frequently asked question for Spire.PDF of technical and function issues.

We guarantee one business day Forum questions Reply.

We guarantee one business day E-mail response.

Free Customized service for OEM Users.

Skype name: iceblue.support

Apply for a Free Trial License File.

To help you get started quickly, we offer free customized demos to our customers. Please contact support@e-iceblue.com for the free demo. Make sure the demo you want meets the below requirements.
  • It relates to our components stored on E-iceblue online store.
  • It costs less than 2 hours for us to complete it. If it costs more than 2 hours, please contact our sales@e-iceblue.com

If you have tried out Spire.PDF and found it useful, please consider sharing your experience with others. By sharing your testimonial with us, you will not only help others to make the right decision but will also to earn rewards from us. Please send your testimonials to sales@e-iceblue.com.

This is the list of changelogs of Spire.PDF New release and hotfix. You can get the detail information of each version's new features and bug solutions.

Download Spire.PDF to start a free trial:

Hot Fix Version: 10.10.0

Category ID Description
New feature SPIREPDF-7003 Supports ignoring images when converting PDF to Markdown.
PdfToMarkdownConverter converter = new PdfToMarkdownConverter(inputFile); converter.MarkdownOptions.IgnoreImage = true; 
converter.ConvertToMarkdown(outputFile);
New feature SPIREPDF-7030 Extends the PdfMDPSignatureMaker class to support passing an IPdfSignatureFormatter object.
PdfDocument pdf = new PdfDocument();
pdf.LoadFromFile(inputFile);

X509Certificate2 cert = new X509Certificate2(inputFile_pfx, "e-iceblue");
IPdfSignatureFormatter formatter = new PdfPKCS7Formatter(cert, false);
PdfMDPSignatureMaker pdfMDPSignatureMaker = new PdfMDPSignatureMaker(pdf, formatter);

PdfSignature signature = pdfMDPSignatureMaker.Signature;
signature.Name = "e-iceblue";
signature.ContactInfo = "028-81705109";
signature.Location = "chengdu";
signature.Reason = " this document";

PdfSignatureAppearance appearance = new PdfSignatureAppearance(signature);
appearance.NameLabel = "Signer: ";
appearance.ContactInfoLabel = "ContactInfo: ";
appearance.LocationLabel = "Loaction: ";
appearance.ReasonLabel = "Reason: ";

pdfMDPSignatureMaker.MakeSignature("signName", pdf.Pages[0], 100, 100, 250, 200, appearance);
pdf.SaveToFile(outputFile, FileFormat.PDF);
pdf.Dispose();
New feature SPIREPDF-7030 Supports signing existing signature fields using either the PdfOrdinarySignatureMaker class or the PdfMDPSignatureMaker class.
PdfDocument pdf = new PdfDocument();
pdf.LoadFromFile(inputFile);
PdfFormWidget widgets = pdf.Form as PdfFormWidget;
for (int i = 0; i < widgets.FieldsWidget.List.Count; i++)
{
    PdfFieldWidget widget = widgets.FieldsWidget.List[i] as PdfFieldWidget;
    if (widget is PdfSignatureFieldWidget)
    {
        string originalName = widget.Name;
        X509Certificate2 cert = new X509Certificate2(inputFile_pfx, "e-iceblue");
        IPdfSignatureFormatter formatter = new PdfPKCS7Formatter(cert, false);

        // PdfMDPSignatureMaker signatureMaker = new PdfMDPSignatureMaker(pdf, formatter);
        PdfOrdinarySignatureMaker signatureMaker = new PdfOrdinarySignatureMaker(pdf, formatter);

        PdfSignature signature = signatureMaker.Signature;
        signature.Name = "E-iceblue";
        signature.ContactInfo = "028-81705109";
        signature.Location = "chengdu";
        signature.Reason = "document";

        PdfSignatureAppearance appearance = new PdfSignatureAppearance(signature);
        appearance.NameLabel = "Signer: ";
        appearance.ContactInfoLabel = "ContactInfo: ";
        appearance.LocationLabel = "Loaction: ";
        appearance.ReasonLabel = "Reason: ";
        appearance.SignatureImage = PdfImage.FromFile(inputFile_Img);
        appearance.GraphicMode = GraphicMode.SignImageAndSignDetail;

        signatureMaker.MakeSignature(originalName, appearance);
    }
}
pdf.SaveToFile(outputFile);
pdf.Dispose();
Bug SPIREPDF-6736 Fixes the issue that opening the resulting document after converting a PDF document to a PDFA document caused an error.
Bug SPIREPDF-6946 Fixes the issue that the application threw the System.IndexOutOfRangeException: "Index was outside the bounds of the array." exception when converting a PDF document to a PPTX document.
Bug SPIREPDF-6948 Fixes the issue that converting a PDF document to images experienced a decrease in speed.
Bug SPIREPDF-7006 Fixes the issue that validating the validity of signatures always returned false for the first signature.
Bug SPIREPDF-7012 Fixes the issue that the application threw the "Object reference not set to an instance of an object" exception when converting an OFD document to a PDF document.
Bug SPIREPDF-7013 Fixes the issue that the application threw the "Invalid font weight value: 681" exception when converting an OFD document to a PDF document.
Bug SPIREPDF-7027 Fixes the issue that converting an OFD document to a PDF document resulted in content loss.
Bug SPIREPDF-7032 Fixes the issue that the application threw the "Object reference not set to an instance of an object" exception when compressing a PDF document.
Bug SPIREPDF-7046 Fixes the issue that the application threw the "NullReferenceException" exception when converting a PDF document to a ToPdfA3B document without applying license.

Hot Fix Version: 10.9.0

Category ID Description
Bug SPIREPDF-4562
SPIREPDF-5019
Improves the speed of printing PDF documents.
Bug SPIREPDF-4445 Fixes the issue that content is blank when converting PDF documents to images.
Bug SPIREPDF-6938 Fixes the issue that the program throws a System.FormatException: "Header checksum illegal" when compressing PDF documents.
Bug SPIREPDF-6969 Fixes the issue that the program throws a System.NullReferenceException: "Object reference not set to an instance of an object." when converting PDF documents to OFD documents.
Bug SPIREPDF-6970 Fixes the issue that the program throws a System.Exception: "Header of the stream cannot be read." when extracting images.
Bug SPIREPDF-6971 Fixes the issue that the content is incorrect when converting SVG files to PDF documents.
Bug SPIREPDF-6974 Fixes the issue with font errors when converting SVG files to PDF documents.
Bug SPIREPDF-6979 Fixes the issue that the program throws a System.IndexOutOfRangeException: "Index is outside the bounds of the array." when converting PDF documents to images.
Bug SPIREPDF-6981 Fixes the issue that the program throws a System.NullReferenceException: "Object reference not set to an instance of an object." when retrieving fonts.
Bug SPIREPDF-6995 Fixes the issue that results are incorrect when extracting text multiple times.
Bug SPIREPDF-6997 Fixes the issue that the program throws a System.NullReferenceException: "Object reference not set to an instance of an object." when converting PDF documents to PDFA1B documents.

Hot Fix Version: 10.8.1

Category ID Description
Optimization SPIREPDF-5744 Optimizes the time consumption of PDF to image conversion.
Bug SPIREPDF-2659
SPIREPDF-4454
Fixes the issue that importing and exporting form data (in FDF, XFDF, and XML formats) was incorrect.
Bug SPIREPDF-6797 Fixes the issue that highlighting covered the text after converting PDF to images.
Bug SPIREPDF-6896 Fixes the issue that the program threw an exception System.NullReferenceException when converting an OFD document to a PDF document.
Bug SPIREPDF-6908 Fixes the issue that the contents were blank after converting a PDF document to images.
Bug SPIREPDF-6910 Fixes the issue that it failed to get the action script of annotations.
Bug SPIREPDF-6922 Fixes the issue that the program threw an exception System.ArgumentException when importing FDF file data to PDF.
Bug SPIREPDF-6925 Fixes the issue that spaces were lost when copying content to Notepad after adding content to a PDF document using the PdfTaggedContent interface.
Bug SPIREPDF-6929
SPIREPDF-6940
Fixes the issue that the program threw an exception System.OutOfMemoryException when converting a PDF document to images.
Bug SPIREPDF-6941 Fixes the issue that signatures were reversed by mirroring after flattening form fields.
Bug SPIREPDF-6949 Fixes the issue that the program threw an exception System.NullReferenceException when converting a PDF document to an Excel document.
Bug SPIREPDF-6968 Fixes the issue that the program threw an exception System.NullReferenceException when loading a PDF document.

h3 style="margin-top: 25px;">Hot Fix Version: 10.7.21
Category ID Description
New feature - Supports converting HTML to PDF using the Chrome plugin.

Save the resulting PDF document to a file:
string chromeLocation = baseDirectory + "chrome\\Chrome-bin\\chrome.exe";
ChromeHtmlConverter converter = new ChromeHtmlConverter(chromeLocation);
ConvertOptions options = new ConvertOptions();
options.Timeout = 10 * 1000;
options.PageSettings = new PageSettings()
{
    PaperWidth = 8.77,
    PaperHeight = 6.20,
    MarginBottom = 0,
    MarginTop = 0,
    MarginLeft = 0,
    MarginRight = 0
    };
converter.ConvertToPdf("https://www.e-iceblue.com/", outputFile, options);
Save the resulting PDF document to a stream:
var pdfAsStream = new MemoryStream();
string chromeLocation = baseDirectory + "chrome\\Chrome-bin\\chrome.exe";
ChromeHtmlConverter converter = new ChromeHtmlConverter(chromeLocation);
ConvertOptions options = new ConvertOptions();
options.Timeout = 10 * 1000;
options.PageSettings = new PageSettings()
{
    PaperWidth = 8.77,
    PaperHeight = 6.2,
    MarginBottom = 0,
    MarginTop = 0,
    MarginLeft = 0,
    MarginRight = 0
    };
converter.ConvertToPdf("https://www.e-iceblue.com/", pdfAsStream, options);
New feature SPIREPDF-6820 Optimizes the layout of Excel documents converted from PDF documents.
Use the new code:
pdfDocument.ConvertOptions.SetPdfToXlsxOptions(new XlsxLineLayoutOptions(true, false, false)); //bool convertToMultipleSheet, bool rotatedText, bool splitCell
Bug SPIREPDF-6789 Fixes the issue that the program reported an error when printing PDF documents.
Bug SPIREPDF-6806 Fixes the issue that images in PDF documents converted from XPS documents were not displayed in the PDF.js viewer.
Bug SPIREPDF-6848 Fixes the issue that the border was lost after filling the text field with content and opening the document in Google Chrome or previewing it in Adobe when printing.
Bug SPIREPDF-6896 Fixes the issue that the program threw System.NullReferenceException when converting a PDF document to a PDFA1B document.
Bug SPIREPDF-6898
SPIREPDF-6899
Fixes the issue that the program threw System.NullReferenceException when extracting text from PDF documents.
Bug SPIREPDF-6906 Fixes the issue that the program threw System.ArgumentNullException when converting PDF documents to images.

Hot Fix Version: 10.7.12

Category ID Description
New feature SPIREPDF-5742 Adds the PreserveAllowedMetadata property to support preserving XMP data when converting PDF to PDFA format documents.
PdfStandardsConverter converter = new PdfStandardsConverter(stream);
converter.Options.PreserveAllowedMetadata = true;
Bug SPIREPDF-6832 Fixes the issue that verification of signature validity was inaccurate.
Bug SPIREPDF-6836 Fixes the issue that removing the PdfWatermarkAnnotationWidget object failed.
Bug SPIREPDF-6875 Fixes the issue that printing PDF to B5 paper size was incorrect.

Hot Fix Version: 10.6.25

Category ID Description
Bug SPIREPDF-6721 Fixes the issue that the results of extracting images from PDF were incorrect.
Bug SPIREPDF-6775 Fixes the issue that the effect of setting "PdfButtonWidgetFieldWidget.SetButtonImage()" was incorrect.
Bug SPIREPDF-6791 Fixes the issue that the program suspended when using "IProgressNotifier".
Bug SPIREPDF-6793 Fixes the issue that characters were lost after converting XPS to PDF.
Bug SPIREPDF-6794 Fixes the issue that the signature verification was incorrect.
Bug SPIREPDF-6802 Fixes the issue that the effect of replacing PDF text content was incorrect.
Bug SPIREPDF-6803 Fixes the issue that the program threw a "System.NullReferenceException" when using PdfPageBase.CreateTemplate().
Bug SPIREPDF-6807 Fixes the issue that the program threw "System.NullReferenceException" when converting PDF to OFD.
Bug SPIREPDF-6808 Fixes the issue that stamps were lost after converting PDF to OFD.
Bug SPIREPDF-6816 Fixes the issue that the effect of PdfGrid.RepeatHeader settings was incorrect.
Bug SPIREPDF-6824 Fixes the issue that the program threw "System.StackOverflowException" when converting PDF to PDFA1A.

Hot Fix Version: 10.6.7

Category ID Description
New feature - Supports converting PDF documents to Markdown files.
PdfDocument doc = new PdfDocument("input.pdf");
doc.SaveToFile("output.md", FileFormat.Markdown);

Hot Fix Version: 10.6.0

Category ID Description
Bug SPIREPDF-6663 Fixes the issue that "System.ArgumentOutOfRangeException" was thrown when converting OFD to PDF.
Bug SPIREPDF-6678 Fixes the issue that lines were lost after converting PDF to Excel.
Bug SPIREPDF-6713 Fixes the issue that "System.NullReferenceException" was thrown when converting OFD to PDF.
Bug SPIREPDF-6719 Fixes the issue that the effect of font display was incorrect after converting OFD to PDF.
Bug SPIREPDF-6720 Fixes the issue that modifying the annotation text of PdfFreeTextAnnotation did not take effect.
Bug SPIREPDF-6739 Fixes the issue that "Schema namespace URI and prefix mismatch" was thrown when adding a watermark to a PDF file.
Bug SPIREPDF-6740 Fixes the issue that the result was incorrect when printing PDF files.
Bug SPIREPDF-6741 Fixes the issue that the text overlapped after converting PDF to images.
Bug SPIREPDF-6743 Fixes the issue that the pictures were not clear after converting OFD to PDF.
Bug SPIREPDF-6748 Fixes the issue that some contents were lost after drawing HTML contents on PDF.
Bug SPIREPDF-6770 Fixes the issue that the drawn text was lost after setting the transparency of PDF and then converting it to OFD.
Bug SPIREPDF-6771 Fixes the issue that "System.NullReferenceException" was thrown when the PdfDocument object was not released and called again.

Hot Fix Version: 10.5.5

Category ID Description
Bug SPIREPDF-6045 Fixes the issue that the content was blurred when printing PDFs.
Bug SPIREPDF-6529 Fixes the issue that the content was lost after replacing text.
Bug SPIREPDF-6654 Fixes the issue that specific Chinese characters could not be drawn successfully.
Bug SPIREPDF-6655 Fixes the issue that the background turned black after converting PDF to pictures.
Bug SPIREPDF-6657 Fixes the issue that the standard validation failed after converting PDF to PDFA3A.
Bug SPIREPDF-6658 Fixes the issue that some pages became blank after converting PDF to XPS and then converting it to PDF.
Bug SPIREPDF-6681 Fixes the issue that the program threw System.NullReferenceException when converting OFD to PDF.
Bug SPIREPDF-6687 Fixes the issue that the added signature was not visible in the signature menu bar on the left side.
Bug SPIREPDF-6697 Fixes the issue that the content formatting was not correct after converting PDF to PowerPoint.
Bug SPIREPDF-6701 Fixes the issue that the background color was incorrect after converting XPS to SVG.
Bug SPIREPDF-6707 Fixes the issue that text replacement was incorrect.
Bug SPIREPDF-6714 Fixes the issue that the content was lost after converting OFD to PDF.
Bug SPIREPDF-6715 Fixes the issue that replacing text that crosses lines was incorrect.
Bug SPIREPDF-6727 Fixes the issue that the program threw FileNotFoundException when converting OFD to PDF.
Bug SPIREPDF-6733 Fixes the issue that the program threw InvalidOperationException when converting PDF to OFD in multiple threads.
Bug SPIREPDF-6734 Fixes the issue that the color of stamps was not correct after converting OFD to PDF.
Bug SPIREPDF-6735 Fixes the issue that replacing Chinese characters did not succeed.

Hot Fix Version: 10.4.7

Category ID Description
New feature SPIREPDF-2422
SPIREPDF-6640
Supports retrieving the font formatting of found text.
Note: Only supports retrieving bold, faux bold (font style set to fill and stroke), italic, and color; does not support retrieving underline.
PdfDocument pdf = new PdfDocument();
pdf.LoadFromFile(inputFile);
PdfPageBase page = pdf.Pages[0];
PdfTextFinder finds = new PdfTextFinder(page);
finds.Options.Parameter = TextFindParameter.None;
List result = finds.Find("hello");
StringBuilder str = new StringBuilder();
foreach (PdfTextFragment find in result)
{
	string text = find.LineText;
	string FontName = find.TextStates[0].FontName;
	float FontSize = find.TextStates[0].FontSize;
	string FontFamily = find.TextStates[0].FontFamily;
	bool IsBold = find.TextStates[0].IsBold;
	bool IsSimulateBold = find.TextStates[0].IsSimulateBold;
	bool IsItalic = find.TextStates[0].IsItalic;
	Color color = find.TextStates[0].ForegroundColor;
	str.AppendLine(text);
	str.AppendLine("FontName: " + FontName);
	str.AppendLine("FontSize: " + FontSize);
	str.AppendLine("FontFamily: " + FontFamily);
	str.AppendLine("IsBold: " + IsBold);
	str.AppendLine("IsSimulateBold: " + IsSimulateBold);
	str.AppendLine("IsItalic: " + IsItalic);
	str.AppendLine("color: " + color);
	str.AppendLine(" ");
}
PdfTextReplacer ptr = new PdfTextReplacer(page);
ptr.ReplaceAllText("hello", "New");
File.WriteAllText(outputFile_T, str.ToString());
pdf.SaveToFile(outputFile);
pdf.Dispose();
New feature SPIREPDF-6602 Adds a progress callback interface for saving documents.
PdfDocument pdf = new PdfDocument();
pdf.LoadFromFile(inputFile);
pdf.RegisterProgressNotifier(new CustomProgressNotifier());
pdf.SaveToFile(outputFile, FileFormat.XPS);
pdf.Close();

public class CustomProgressNotifier :IProgressNotifier
{
	StringBuilder str = new StringBuilder();
	public void Notify(float progress)
	{
		str.AppendLine(progress + "%");
		File.WriteAllText(outputFile_txt, str.ToString());
	}
}
Bug SPIREPDF-6626 Fixes the issue that the content was lost when converting PDF documents to images.
Bug SPIREPDF-6627 Fixes the issue that it failed to draw text containing the "∙" (unicode = 8729) character on a PDF page.
Bug SPIREPDF-6634 Fixes the issue that the application threw "System.NullReferenceException" when printing grayscale PDF documents.
Bug SPIREPDF-6635 Fixes the issue that the application threw "System.ArgumentNullException" when converting grayscale PDF documents.
Bug SPIREPDF-6636 Fixes the issue that the verification results were incorrect when using signatureOne.VerifySignature() method to verify digital signatures.
Bug SPIREPDF-6639 Fixes the issue that the images were lost when converting XPS documents to PDF documents.
Bug SPIREPDF-6641
SPIREPDF-6645
Fixes the issue that the application threw "System.NullReferenceException" when converting OFD documents to PDF documents.
Bug SPIREPDF-6656 Fixes the issue that the signatures were invalid after loading and saving PDF documents.
Bug SPIREPDF-6660 Fixes the issue that the application threw "System.ArgumentException" when converting OFD documents to PDF documents.
Bug SPIREPDF-6673 Fixes the issue that the application threw "System.ArgumentNullException" during finding text.
Request free customized demo just for you.

Tab 1

Upload

Maximum file size: 1 MB. Files accepted: pdf.
Click here to browse files.
fileerrors

Convert to

Source file:
filename
Target file type:

Tab 2

Upload

Maximum file size: 1 MB. Files accepted: pdf.
Click here to browse files.
fileerrors

Convert to

Source file:
filename
Search Text:

Tab 3

Data

Contact Company City Country Phone
Erica NormanKauai Dive ShoppeKapaa KauaiUS808-555-0269
George WeathersUniscoFreeportBahamas809-555-3915
Phyllis SpoonerSight DiverKato PaphosCyprus357-6-876708
Joe BaileyCayman Divers World UnlimitedGrand CaymanBritish West Indies011-5-697044
Chris ThomasTom Sawyer Diving CentreChristianstedUS Virgin Islands504-798-3022
Ernest BarrattBlue Jack Aqua CenterWaipahuUS401-609-7623
Russell ChristopherVIP Divers ClubChristianstedUS Virgin Islands809-453-5976
Paul GardnerOcean ParadiseKailua-KonaUS808-555-8231
Susan WongFantastique AquaticaBogotaColumbia057-1-773434
Joyce MarshMarmot Divers ClubKitchenerCanada416-698-0399
Sam WitherspoonThe Depth ChargeMarathonUS800-555-3798
Theresa KunecBlue SportsGiribaldiUS610-772-6704
Donna SiausMakai SCUBA ClubKailua-KonaUS317-649-9098
Michael SpurlingAction ClubSarasotaUS813-870-0239
Barbara HarveyJamaica SCUBA CentreNegrilWest Indies011-3-697043
Desmond OrtegaIsland FindersSt Simons IsleUS713-423-5675
Gloria GonzalesAdventure UnderseaBelize CityBelize011-34-09054
Harry BathboneBlue Sports ClubLargoUS612-897-0342
Lloyd FellowsFrank's Divers SupplyEugeneUS503-555-2778
Tanya WagnerDavy Jones' LockerVancouverCanada803-509-0112
Robert MichelindSCUBA HeavenNassauBahamas011-32-09485
Frank PaniaguaShangri-La Sports CenterFreeportBahamas011-32-08574
Charles LopezDivers of Corfu, Inc.Ayios MatthaiosGreece30-661-88364
Rudolph ClausKirk EnterprisesHoustonUS713-556-6437
Bill WyersGeorge Bean Co.LugoffUS803-438-2771
Shirley MathersProfessional Divers, Ltd.HooverUS205-555-8333
Nancy BeanDivers of Blue-greenPelhamUS205-555-7184
Elaine FallsGold Coast SupplyMobileUS205-555-2640
Patricia O'BrienSan Pablo Dive CenterSanta MariaUS823-044-2910
Dave WallingUnderwater Sports Co.San JoseUS408-867-0594
Lynn CinciripiniAmerican SCUBA SupplyLomitaUS213-654-0092
Nicole DupontCatamaran Dive ClubCatalina IslandUS213-223-0941
Peter OwenDiver's GrottoDowneyUS213-432-0093
Bethan LewisFisherman's EyeGrand CaymanBritish West Indies809-555-4680
Marianne MilesAction Diver SupplySt. ThomasUS Virgin Islands22-44-500211
Stephen BryantMarina SCUBA CenterCaracasVenezuela58-33-66222
Christine TaylorBlue Glass HappinessSanta MonicaUS213-555-1984
Simone GreenDivers of VeniceVeniceUS813-443-2356
Bram PhillipsOn-Target SCUBAWinnipegCanada416-445-0988
Jonathan WestJamaica Sun, Inc.Runaway BayWest Indies809-555-2746
Grant AinsworthUnderwater FantasyOcho RiosWest Indies809-555-2214
Anne MariachiPrincess Island SCUBATaveuniFiji679-311923
Maria EventoshCentral Underwater SuppliesJohannesburgRepublic So. Africa27-11-4432458
Anna RackSafari Under the SeaGrand CaymanBritish West Indies809-409-4233
Isabelle NeeceLarry's Diving SchoolMilwaukieUS503-403-7777
Kevin RiderTora Tora ToraNassauBahamas809-898-0043
Susan SmithVashon VenturesHonoluluUS532-099-0423
Joe HatterDivers-for-HireSuvaFiji679-804576
Paul StillOcean AdventuresMauiUS776-868-9334
Michael GrossmanUnderwater SCUBA CompanySomersetBermuda809-555-1225
Gillian OwenAquatic DramaTampaUS613-442-7654
Brian MilesThe Diving CompanySt. ThomasUS Virgin Islands22-44-50098
Angela JonesNorwest'er SCUBA LimitedPagetBermuda778-123-0745
Richard HouserWaterspout SCUBA CenterPortlandUS503-654-2434
Louise FranksNeptune's Trident SupplyNegrilWest Indies778-897-3546

Option

borderColor:
repeatHeader:
downloads

Tab 4

Upload

Maximum file size: 1 MB. Files accepted: pdf.Upload up to 3 files.
Click here to browse files.
fileerrors

Source file:

filename
Target file type:

Tab 5

Upload

Maximum file size: 1 MB. Files accepted: pdf.
Click here to browse files.
Source file:
filename
fileerrors

Set text watermark

Text:
Font:
Font Size:
Color:
downloads

Set image watermark

Image:
Click here to browse files
downloads

If you don't find the function you want, please fill in a form to request a free demo from us. Make sure the demo you want meets the following requirements:

  • It is a small project that implements a particular scenario.
  • It relates to our libraries stored on E-iceblue online store.
  • It costs less than 2 hours for us to complete it.
  • It is not a bug report.
  • It is not a feature request.