Docotic.PDF 5.7.9231 » Developer Team :: Best choice for developers!

Docotic.PDF 5.7.9231

Docotic.PDF 5.7.9231
Docotic.PDF 5.7.9231


The royalty-free PDF component for you to use if you need to create, read, or manipulate PDF documents in your application or web service. The library is an "Any CPU" assembly and will JIT to 64 bit code when loaded into a 64 bit process and 32 bit code when loaded into a 32 bit process. The library has no additional dependencies. Docotic.Pdf has version for .NET Standard Library. Thus, you can use Docotic.Pdf in .NET Core and UWP projects. .NET Core apps can run on Windows, on Linux and on Mac. This article explains the basics to get you up and running to process PDF files in your .NET Core application.

Using Docotic.Pdf in .NET Core application

Setup your environment for .NET Core development as described here. In this article we will use Visual Studio Community 2015 on Windows, but you can use any appropriate OS and IDE.

Create a new .NET Core project. For example, console application.

Add Docotic.Pdf NuGet package to the project.

Add the following method to the project's source code

Call helloPdf() method from your code. Pass a path to output PDF file as a parameter. This will create a PDF document like that:

The library can be added to GAC (Global Assembly Cache) to ease adding references to it in new .NET projects.

Adding library to GAC
Make sure you have administrator privileges.

Run gac-install.ps1. You can find it in the installation package or in the samples repository.

The script expects to find BitMiracle.Docotic.Pdf.dll in the same folder.

Removing library from GAC
Make sure you have administrator privileges.

Run gac-remove.ps1. You can find it in the installation package or in the samples repository.

The script expects to find BitMiracle.Docotic.Pdf.dll in the same folder.

Version 5.7

Added ability to extract text as vector path. Use new PdfPage.GetObjects(PdfObjectExtractionOptions) method and PdfObjectExtractionOptions.ExtractTextAsPath property to extract text as path.
Added ability to extract file specifications associated with rich media annotations. Take a look at the new PdfRichMediaAnnotation class.
Added new PdfDrawOptions.SimulateOverprint property. The property can be used to simulate the effects of overprinting.
Added ability to extract raw bytes of XMP metadata. Take a look at XmpMetadata.Extract() methods.
Added ability to flatten individual form fields. Please take a look at the new PdfControl.Flatten() method.
Added ability to read and write NeedAppearances flag. See the new PdfDocument.NeedAppearances property.
Extended PdfDocument.GetControl method. Now this method can perform searches not only by control name but also by control full name.
Improved handling of TIFF images.
Improved parsing of XMP metadata.
Improved parsing of PDFs with broken or incorrect structure.
Improved extraction of text with vertical writing mode.
Fixed bugs related to decoding of JPEG images.
Fixed bugs related to drawing of text with vertical writing mode.
Fixed bugs related to drawing of text with .notdef glyph.
Fixed bugs related to form filling.
Fixed bugs related to text extraction.
Fixed bugs related to importing of TIFF images with colorimetry information.
Fixed bugs related to extraction of CCITT images.
Fixed bugs related to life time of ciphers and graphics objects.
Fixed bugs related to processing of colors in indexed color space.


Only for V.I.P
Warning! You are not allowed to view this text.


Information
Users of Guests are not allowed to comment this publication.