Author Archives: Atir Tahir

Classify text using IAB-2 or Document taxonomies in C#

A classification is basically an approach in which text is systematically identified and then organized. Taxonomy defines the practice and science of such classification, including the principles that underlie such classification. When you are dealing with a bunch of text data (or documents), it becomes hard to find a topic of your need until and unless this data is classified or organized. Hence, you have to classify text in order to fetch data/information quickly.

GroupDocs.Classification for .NET

GroupDocs offers a … Continue Reading

Posted in GroupDocs.Classification Product Family | Tagged , , ,

Monitor Document Conversion Status and Progress in C#

With the release of GroupDocs.Conversion for .NET v19.11 you can now monitor document conversion progress and status using C#. There are way many conversions supported by the API, that are listed in the documentation.

A new property Listener is added. The document converter listener implementation is used for monitoring conversion status and progress. Have a look at ConverterListener class that implements IConverterListener interface

Below is the usage

Coming to the improvement, MPP to XLS conversion is improved. … Continue Reading

Posted in GroupDocs.Conversion Product Family | Tagged , , ,

Compare two documents – Control header and footer comparison in C#

Compare two documents but ignore or include header and footer content. Is this what you need in your document comparison application? Then you must try GroupDocs.Comparison for .NET. This back-end API can be implemented in any of your .NET application without any third party tool/software dependency. Those who are already using this API, we have some interesting features and few bug fixes introduced in GroupDocs.Comparison for .NET 19.11.

Set output paper size

A new property PaperSize is introduced … Continue Reading

Posted in GroupDocs.Comparison Product Family | Tagged , , ,

Convert a JPEG file to PSD programmatically in C#

You can convert an image file (e.g. JPEG, JPG, PNG) to PSD format and redesign it as per your requirements using GroupDocs.Conversion for .NET. All you have to do is to integrate this DLL in your web, desktop or console application.

Implementation

  • Pass source document path as a constructor parameter to the instance of Converter class
  • Instantiate ImageConvertOptions
  • Specify resultant image format using Format property of ImageConvertOptions class
  • Declare SavePageStream delegate, which should proved a stream where each document page
Continue Reading
Posted in GroupDocs.Conversion Product Family | Tagged , , ,

Add Annotations in a PDF file using C#

We are living in a paper-less era. Everything in business has gone digital. If you are given a document (e.g. PDF, Word, Presentation) and asked to brief the sales achieved in 2018. What will you do? You will try to highlight or add arrow to the concerned text.

Supported Annotations

Following are the supported annotation types:

  • Area
  • Arrow
  • Distance
  • Ellipse
  • Link
  • Point

See full list of supported annotations in this article and list of supported file formats here.

Insert

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

Convert a PDF document to HTML using C#

Using GroupDocs.Conversion for .NET, it is possible to convert any PDF document to HTML file in C#. Conversion process or feature is not limited to PDF files only. You can convert any supported file format to HTML.
GroupDocs.Conversion for .NET is a back-end API that can be integrated in any (new or existing) .NET application.

C# Example: How to Convert a PDF to HTML

This API can convert any source document to a markup format which in general is … Continue Reading

Posted in GroupDocs.Conversion Product Family | Tagged , , , ,

Upcoming release of GroupDocs.Classification for .NET

GroupDocs.Classification for .NET allows you to classify document or text with IAB-2 or Document taxonomies. Have a look at the image below:

You can see how API classifies an input text to IAB-2. If you haven’t already explored the online app, visit it now.

Big News

We are going to launch GroupDocs.Classification API for .NET platform very soon. That means, whatever features you can avail/evaluate in the online app, will be available in a back-end API that you … Continue Reading

Posted in GroupDocs.Classification Product Family | Tagged , ,

Change page orientation of a Word document in C#

Do you want to change orientation (e.g. landscape, portrait) of a single or multiple pages in a Word document? GroupDocs.Merger for .NET allows you to do this with just a few lines of code.

Usage

Below are the steps to change page orientation:

  • Initialize OrientationOptions class with desired orientation mode and page numbers
  • Instantiate Merger objectwith source document path or stream
  • Call ChangeOrientation method and pass OrientationOptions object to it
  • Call Save method specifying file path to save resultant document
Continue Reading
Posted in GroupDocs.Merger Product Family | Tagged ,

Find Differences in PDF – Accept or Reject Changes in C#

You might be looking for an API that provides the ability to find differences in PDF and also allows you to apply or discard specific changes between source and target documents. For sure, you need to save the resultant document with or without selected changes.

API to Compare PDF, then Accept and Reject found differences

GroupDocs.Comparison for .NET is a back-end API that can be integrated into any .NET (existing or new) application without any third party tool/software dependency. Currently, … Continue Reading

Posted in GroupDocs.Comparison Product Family | Tagged , , ,

Convert Documents to Grayscale Image with different Options using C#

The first and foremost question in your mind could be, is it about converting an RGB image to Grayscale only? No, you can convert any supported file format (including images) to a black-and-white or gray monochrome image. The contrast ranges from black at the weakest intensity to white at the strongest.
See the below demonstration. We converted the first page of a PDF file to grayscale image. You can manage brightness, contrast, or gamma of the resultant image as well. … Continue Reading

Posted in GroupDocs.Conversion Product Family | Tagged , ,