1. Products
  2.   Aspose.Words
  3.   .NET
  4.   Text File Processor

Text File Processor for .NET

Create, load and edit text files, and then save these files in TXT format.

Aspose.Words Text File Processor for .NET

Aspose.Words Processor of Text Files for .NET allows users to work with documents in TXT format. It provides users with the ability to load an existing text document or create a new one, edit the document using various supported options, and save the result in TXT format.

How to Create Text File via .NET?

  • Reference Aspose.Words in your project
  • Set your license keys
  • Create an instance of Document class
  • Create an instance of DocumentBuilder class and pass the object of Document class to the constructor
  • Use DocumentBuilder utility methods to manipulate the document, such as adding a paragraph text using Writeln method
  • Call Document.Save method to save the document in TXT format

Get Text File Processor for .NET

Get the respective assembly files from the downloads or fetch the package from NuGet to add Aspose.Words directly in your workspace.

  • Microsoft Windows, Linux, macOS, or mobile OS with .NET framework, Mono, or .NET Core installed
  • Development environment - Microsoft Visual Studio 2010-2022, Xamarin, or MonoDevelop 2.4+


Edit an Existing TXT File via C# .NET

  • Reference Aspose.Words in your project
  • Set your license keys
  • Create an instance of Document class and pass the path to the existing TXT file to the constructor
  • Create an instance of DocumentBuilder class and pass the object of Document class to the constructor
  • Use DocumentBuilder.MoveToDocumentEnd to move to the end of the document
  • Use DocumentBuilder.Writeln to add text
  • Call Document.Save method to save the resultant Text file

Text File Processor Features

  • Search and replace text
  • Manage tables and their content
  • Deal with lists
  • Handle paragraphs


Frequently Asked Questions

What is Aspose.Words Text File Processor for .NET?

Aspose.Words Text File Processor for .NET is an advanced document editing tool designed specifically for TXT file formats. It allows users to load existing TXT documents or create new ones, make desired modifications, and save the final result in TXT format.

In which industries can Aspose.Words Text File Processor for .NET be applied?

Aspose.Words Processor for .NET is versatile and finds applications in various industries such as software development, media and entertainment, retail, enterprise management, medical and pharmaceutical, banking, automotive, aviation, and logistics.

Where can I find more examples and resources?

Visit the Aspose.Words GitHub repository for complete examples and data files.

  

Support and Learning Resources

  
 English