Author Archives: Shoaib Khan

Password Protection of PDF Files in Java

There are different security levels that you can provide to your confidential documents. You can apply watermarks, encrypt files, or you can make your documents password-protected. In this article, we will see how to programmatically add password protection to the PDF files within the Java applications. Further, we will learn to change the password and also to remove the passwords to unlock PDF files.

The following topics are discussed in this article:

  • Java API for Password Protection of PDF Files
  • Password Protect PDF Files in Java
  • Change PDF Password in Java
  • How to Remove PDF Password - Unlock PDF
Posted in GroupDocs.Merger Product Family | Tagged , , , , ,

Strikethrough Text in Documents using Java

Probably you have some content that is no more valid. Let’s cross it out. Crossing out is one of the ways, used to highlight the invalid content within the documents. In order to automate the cross-out within the applications, this article shows how to strikethrough text in documents in Java.

The following topics are discussed in this article.

  • Java API for Strikethrough Annotations
  • How to Strikeout Text in Documents
Posted in GroupDocs.Annotation Product Family | Tagged , , , ,

Add Wavy Underline in Word, PDF & Other Documents using C#

Squiggly underlines are normally used to show inconsistencies in the document. We are quite familiar with these lines as Microsoft Word uses red squiggly underlines to indicate spelling mistakes and blue squiggly/wavy underlines for formatting issues. We can also add such underline annotations in documents programmatically. In this article, we will learn how to add wavy underlines in Word, PDF, PPT, and other documents using C#.

The following topics are discussed below:

  • .NET API for Wavy Underline / Squiggly Annotation
  • Add Wavy Underline to Text in Word - Squiggly Annotation
  • Add Wavy Underline to Text in PDF, PPT, and Other Documents
Posted in GroupDocs.Annotation Product Family | Tagged , , , ,

Convert Source Code to PDF in C#

You sometimes need to convert the source code files to other formats. It may be for sharing or analysis purposes. This article discusses how to convert Python, PHP, Java, C#, C/C++ source code files to PDF format within the .NET applications. Furthermore, we will programmatically password-protect the converted files.

  • Source Code Conversion .NET API
  • Java to PDF using C#
  • Python to PDF using C#
  • PHP to PDF - Protect the PDF file
Posted in GroupDocs.Viewer Product Family | Tagged , , , , , ,

Compare Word Documents using C#

Word processing documents are the most common way to draft contracts, agreements, papers, and many other official documents. If you need to compare and merge two Word documents, just like the track changes option of Microsoft Word, we can programmatically do it within our .NET applications. In this article, we will discuss how to compare two Word documents and highlight the identified differences using C#. Additionally, we will look at how to compare password-protected documents, accept and reject changes, and compare more than two documents with C# examples.

The following topics are discussed in this article:

  • Document Comparison .NET API
  • Compare Two Word Documents
  • Accept or Reject Identified Changes in Word Document
  • Compare More than Two Word Documents
  • Compare Password Protected Word Files
Posted in GroupDocs.Comparison Product Family | Tagged , , , , ,

How to Password Protect and Remove Protection from Word Documents using C#

Let's discuss how we can restrict the access to the Word documents by making them password protected. We have already learned to lock and unlock PDF, and PowerPoint files. In this article, we will see how to password protect a Word document using C#. Further, we will learn to remove the password to unlock Word documents, and lastly, how to change the existing password of DOC & DOCX files within the .NET applications.

The following topics are discussed in this article:

  • .NET API to Password Protect Word Documents
  • Add Password to Word Document
  • Change Password of Word Document
  • How to Remove Password from Word Document
Posted in GroupDocs.Merger Product Family | Tagged , , , , ,

Watermark Password Protected Documents in Java

Watermark Protected Docs using Java

Watermarks can be used to protect the content and claim ownership of your documents. Similarly, these can also be used for branding or labelling your documents as drafts. This article discusses how to add watermarks to the password-protected files in Java. We will add text, as well as image watermarks to the protected files using code examples.

The following topics are discussed here:

Continue Reading
Posted in GroupDocs.Watermark Product Family | Tagged , , , , ,

Lock & Unlock PowerPoint Files with Password using C#

Today, we will provide password protection to our presentation files programmatically. In this article, we will see how to lock PowerPoint presentation files with password protection in C#. Further, we will learn to unlock these by removing the password and also how to change the existing password of PPT & PPTX presentation files.

The following topics are discussed in this article:

  • .NET API to Protect PowerPoint PPT/PPTX with Password
  • Lock PowerPoint Files by adding Password
  • Change PPT/PPTX Password in C#
  • How to Remove PowerPoint Presentation Password
Posted in GroupDocs.Merger Product Family | Tagged , , , ,

Convert Excel Spreadsheets to PDF in Java

When we want to share the data in worksheets that do not require editing, we often convert such Excel workbooks or specific sheets to PDF format. In this article, we will learn 4 different ways of converting Excel spreadsheets into PDF format in Java using the document conversion API.

Some of the possible ways to convert the spreadsheets are discussed in this article.

  • Java API for Excel Files to PDF Conversion
  • Convert All Sheets to PDF
  • Continuous Number of Excel Sheets to PDF Conversion
  • Specific List of Excel Sheets to PDF Conversion
  • Convert Selected Cell Range from Excel Sheet to PDF
Posted in GroupDocs.Conversion Product Family | Tagged , , , , ,

Lock & Unlock PDF Files with Password using C#

Let's learn to secure our documents from unauthorized access. Previously we discussed adding text and image watermarks to the documents to avoid and illegal use. In this article, we will see how to add password protection to PDF documents to get them locked using C#. Additionally, we will change the existing password and also learn to remove the password to make the PDF unlocked.

The following topics are discussed in this article:

  • .NET API for Password Protection of PDF files
  • Lock PDF Files by adding Password
  • Change PDF Password in C#
  • How to Remove PDF Password - Unlock PDF
Posted in GroupDocs.Merger Product Family | Tagged , , , ,