I’ve seen examples to create documents some with Document object model some are using DocumentBuilder. Which is the preferred and recommended approach in creating word documents?
Section class represents a single section in a document and Paragraph class represents a paragraph of text. Paragraph is a block-level node and can be a child of classes derived from Story or InlineStory. Paragraph can contain any number of inline-level nodes and bookmarks.
Document class represents a Word document. The Document is a central object in the Aspose.Words library. DocumentBuilder class provides methods to insert text, images and other content, specify font, paragraph and section formatting.