Skip to content

viethieule/Aspose.Words-for-.NET

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word Processing API for .NET

Aspose.Words for .NET is a powerful on-premise class library that can be used for numerous document processing tasks. It enables developers to enhance their own applications with features such as generating, modifying, converting, rendering, and printing documents, without relying on third-party applications, for example, Microsoft Word, or Office Automation.

Directory Description
Demos Source code for live demos hosted at https://products.aspose.app/words/family.
Examples A collection of .NET examples that help you learn and explore the API features.
Showcases Standalone ready-to-use applications that demonstrate some specific use cases.
Plugins Plugins that will demonstrate features of Aspose.Words for .NET.

Word API Features

Read & Write Document Formats

Microsoft Word: DOC, DOCX, RTF, DOT, DOTX, DOTM, DOCM FlatOPC, FlatOpcMacroEnabled, FlatOpcTemplate, FlatOpcTemplateMacroEnabled
OpenOffice: ODT, OTT
WordprocessingML: WordML
Web: HTML, MHTML
Fixed Layout: PDF
Text: TXT

Save Word Files As

Fixed Layout: XPS, OpenXPS, PostScript (PS)
Images: TIFF, JPEG, PNG, BMP, SVG, EMF, GIF
Web: HtmlFixed
Others: PCL, EPUB, XamlFixed, XamlFlow, XamlFlowPack

Platform Independence

Aspose.Words for .NET API can be used to develop applications for a vast range of operating systems (Windows, Linux & Mac OS) and platforms. You can build both 32-bit and 64-bit applications including ASP.NET, WCF & WinForms. Aspose.Words for .NET can also be used via COM Interop from ASP, PHP, Perl and Python.

You can also build applications with Mono as well as on Windows Azure, Microsoft SharePoint, Microsoft Silverlight, Xamarin.Android, Xamarin.iOS & Xamarin.Mac.

Get Started with Aspose.Words for .NET

Ready to give Aspose.Words for .NET a try? Simply run Install-Package Aspose.Words from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Words for .NET and want to upgrade the version, please run Update-Package Aspose.Words to get the latest version.

Create a DOC File from Scratch

// create a blank document
Document doc = new Document();
// the DocumentBuilder class provides members to easily add content to a document
DocumentBuilder builder = new DocumentBuilder(doc);
// write a new paragraph in the document with the text "Hello World!"
builder.Writeln("Hello World!");
// save the document in DOCX format. 
// the format to save as is inferred from the extension of the file name.
doc.Save(dir + "output.docx");

Export DOC to EPUB Format

// load the document from disc
Document doc = new Document(dir + "template.doc");
// save the document in EPUB format
doc.Save(dir + "output.epub");

Import PDF Document and Save As a DOCX

// load the PDF document from directory
Document doc = new Document(dir + "input.pdf");

// save the document in DOCX format
doc.Save(dir + "output.docx");

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

About

Aspose.Words for .NET examples, plugins and showcases

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 91.2%
  • JavaScript 3.3%
  • Rich Text Format 2.8%
  • ASP.NET 1.6%
  • HTML 0.7%
  • CSS 0.3%
  • Other 0.1%