Essential Studio for
ASP.NET Core
CHOOSE THEME
FREE TRIAL
ASP.NET Core
Angular
React
JavaScript (ES5)
JavaScript
ASP.NET MVC
Vue
Blazor
Fluent
Fluent Dark
Bootstrap v5
Bootstrap v5 Dark
Tailwind CSS
Tailwind CSS Dark
Material
Bootstrap v4
High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Localization
*Translated by Google Translator.
Currency
Essential Studio
HOME
All Controls
Example of Styles in ASP.NET Core Word (DocIO) Library
This sample demonstrates how to apply built-in and custom styles to the contents of the Word document using Essential DocIO.
DEMO
SOURCE
Click the button to view the generated Word document. Please note that Microsoft Word Viewer or Microsoft Word is required to view the resultant Word document.
Built-In Styles
Custom Styles
Save As :
DOC
DOCX
WordML
DocIO supports various built-in styles and provides ability to create custom styles. These styles include both text and paragraph formatting options.
Using styles, you can quickly format a Word document and reuse the formatting for multiple parts of the document.
The file size and code length can be reduced by referring styles, instead of formatting each element in the document.
You can also modify the formatting of an existing style in the Word document.
More information about the paragraph styles can be found in this
documentation
section.