The Aspose.Words namespace provides classes for generating, converting, modifying, rendering and printing Microsoft Word documents without utilizing Microsoft Word.
Aspose.Words is written completely in C#, CLS compliant and contains only safe managed code. Microsoft Word is not required in order to use Aspose.Words.
The classes in the Aspose.Words namespace borrow best practices from two well-known frameworks: Microsoft Word Automation and System.Xml. A document in Aspose.Words is represented by a tree of nodes, much like in XML DOM. Where possible, class, method and property names match those found in Microsoft Word Automation.
The main classes in this namespace are:
-
Document is the main class of the object model that represents a Microsoft Word document.
-
DocumentBuilder provides an easy way to insert content and formatting into a document.
-
Node is the base class for all nodes in the document.
-
CompositeNode is the base class for all nodes of the document that can contain other nodes, for example Paragraph, Section and Table.
Namespace hierarchy
Classes
| Class | Description |
|---|
| Body | Represents a container for the main text of a section. |
| Bookmark | Represents a single bookmark. |
| BookmarkCollection | A collection of Bookmark objects that represent the bookmarks in the specified range. |
| BookmarkEnd | Represents an end of a bookmark in a Word document. |
| BookmarkStart | Represents a start of a bookmark in a Word document. |
| Border | Represents a border of an object. |
| BorderCollection | A collection of Border objects. |
| ComHelper | Provides methods for COM clients to load a document into Aspose.Words. |
| Comment | Represents a container for text of a comment. |
| CompatibilityOptions | Contains compatibility options (that is, the user preferences entered on the Compatibility tab of the Options dialog in Microsoft Word). |
|