Author Archives: Usman Aziz

Extract Images from Word Documents in C#

Images play an important role to illustrate the key information in Word documents. Moreover, they make the document more attractive and improve its presentation. As a programmer, you may get a job to extract the images embedded within the Word DOCX or DOC documents. To achieve that, this article covers how to extract images from Word documents programmatically using C#. Moreover, you will see how to save the extracted images to the desired location.

Posted in Aspose.Words Product Family | Tagged , , ,

Convert TXT Files to PDF in Python

Various people use Notepad to write down important points or create notes quickly in TXT format. Also, TXT files are used to store plain text in various applications. However, since Notepad does not provide advanced features, TXT files are often converted to PDF. In order to automate TXT to PDF conversion programmatically, this article covers how to convert TXT files to PDF format in Python.

Posted in Aspose.Words Product Family | Tagged , ,

Convert HTML Files to Word Document in Java

In various cases, you may need to convert the HTML content to a Word document. For example, for generating the document from a WYSIWYG HTML editor or converting a web page to DOCX or DOC format. To perform this conversion programmatically, this article covers how to convert HTML files to Word DOCX, DOC, DOCM, or other formats in Java.

Posted in Aspose.Words Product Family | Tagged , , , ,

Adjust Image Contrast, Brightness, and Gamma in Java

Various characteristics of images are modified to enhance their appearance. Contrast, brightness, and gamma are among the most commonly used attributes to improve the quality of the images. In various cases, you have to control these attributes programmatically from within your Java applications. To achieve that, in this article, you will learn how to adjust the contrast, brightness, and gamma of an image in Java.

Posted in Aspose.Imaging Product Family | Tagged , , ,

Convert HTML Files to Word Documents in Python

HTML to Word conversion is performed in various cases to convert web pages to DOCX or DOC format. Various applications use WYSIWYG HTML editors to create the documents. In that case, generating Word documents from HTML becomes a useful feature. Considering such scenarios, this article covers how to convert HTML files to Word documents programmatically in Python.

Posted in Aspose.Words Product Family | Tagged , , ,

Extract Text from Word Documents in Python

Text extraction from Word documents is often performed in different scenarios. For example, to analyze the text, to extract particular sections of a document and combine them into a single document, and so on. In this article, you will learn how to extract text from Word documents programmatically in Python. Moreover, we will cover how to extract content between specific elements such as paragraphs, tables, etc. dynamically.

Posted in Aspose.Words Product Family | Tagged , , , ,

Work with VBA Macros in Word Documents using Python

Visual Basic for Applications (VBA) is a powerful programming language that lets you automate tasks in Word documents. Moreover, you can perform repetitive tasks with VBA macros quite easily. In this article, you will learn how to work with VBA projects and modules in MS Word documents. Particularly, the article will cover how to create, modify and clone VBA macros programmatically in Python.

Posted in Aspose.Words Product Family | Tagged , , ,

Create Table in Word Documents using Python

Tables are commonly used in Word documents to organize information in a grid-like structure. They allow you to summarize the information in the form of rows and columns. In this article, you will learn how to create a table in Word documents programmatically using Python. Moreover, the article will cover how to create nested tables or clone an existing table in Word documents.

Posted in Aspose.Words Product Family | Tagged , , ,

Resize Images Programmatically in Java

The image editors provide resizing feature that lets you alter the size of images as per your requirements. While designing an image editor or processing images from within your Java applications, you may need to resize images programmatically. To accomplish that, this article covers how to resize images in Java. Moreover, you will also learn how to resize images using different resizing techniques.

Posted in Aspose.Imaging Product Family | Tagged , , , ,

Rotate and Flip Images in Java

Image rotation and flipping are among the key features of the image editors. While working with images or creating your own image editor in Java, you may need to implement these features. To achieve that, this article shows how to rotate and flip images programmatically in Java. Particularly, we will cover how to rotate an image, flip an image, and rotate and flip an image at the same time.

Posted in Aspose.Imaging Product Family | Tagged , , , ,