Secure PDF Files With a Password in C#, VB, and Java

Posted on 2021-07-08 12:16:41 by Zac Ferraresi

document_security-300

In the “Merge PDF Files - C#, VB, and Java Code” article, we described how to use the PDFFile class from the PDF SDK to merge multiple PDF files into one with just a couple lines of code. Using the PDFFile class also makes PDF encryption, decryption, and password protection just as easy! The PDFFile class is available for .NET FX, .NET Core, and Java.

There are two types of PDF password protection:

Continue Reading...

Categories:

PDF

Append Multiple Images to a PDF in C/C++

Posted on 2021-07-08 11:21:21 by Zac Ferraresi

append-multiple-images-300

Recently we posted about how to convert PDF to JPEG and converting multi-page TIFF to PDF. A customer recently asked how one might add multiple images to a PDF. Luckily, LEADTOOLS supports more than 150 raster, vector, and document file formats including SVG, JPEG, PNG and more. So let's dive in and show you how simple it is!

Continue Reading...

Print Any File in C# .NET

Posted on 2021-06-29 14:13:00 by Zac Ferraresi

Blog-Print-300

Creating an application to print files can be difficult. Luckily, LEADTOOLS supports rasterizing and rendering various file formats via a Windows service or console application. The project below can print any of LEAD’s 150+ supported file formats.

Continue Reading...

Convert TXT to PDF in C#, VB, and Java

Posted on 2021-06-17 10:07:36 by Katie

text to pdf

We recently posted “Convert PDF to TXT in C#, VB, and Java” that uses the LEADTOOLS Document Converter class. Now, we are going to go the other way around and convert TXT to PDF. The main difference is that conversion from text to PDF is less complicated because the source TXT file is always text based. On the other hand, PDF files can be text or image based. Converting an image to text requires OCR. Converting Text to PDF does not matter if the resulting PDF is image- or text-based.

Continue Reading...

Convert PDF to JPEG Using C#, VB, and Java Code

Posted on 2021-06-08 13:53:20 by Gabriel Smith

PDF to JPEG conversion

Our support department recently responded to a request for a code sample to convert PDF to JPEG. The customer needed to leverage LEADTOOLS to split and convert thousands of PDF files into single page JPEGs.

JPEG images are universal and can be loaded by practically any client on any operating system. If the PDF files are photos, JPEG is the perfect universal image format for conversion. JPEG is designed specifically for photo images, supporting 24 bits per pixel color and 8 bits per pixel grayscale data.

If the PDF files are text based and need to be converted to a universal image format, PNG and GIF are more appropriate. PNG and GIF support fewer bits per pixel, including 1- and 4-bits and leverage lossless compressions. These factors result in less data to be compressed and clearer images of text and clip art. Typically, PNG results in smaller file sizes when compared to GIF.

Continue Reading...

Categories:

PDF

LEADTOOLS Blog

LEADTOOLS Powered by Apryse,the Market Leading PDF SDK,All Rights Reserved