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.
Please let us know if you have any more queries.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.