Access Word document fields
You can use the Sitecore.Data.Fields.WordDocumentField class to access the value of a Word document field. You can use the Sitecore.Data.Fields.WordDocumentField.Html property to access the HTML representation of the field value. You can use the Sitecore.Data.Fields.WordDocumentField.PlainText property to access the plain text representation of the field value.
You can use the Sitecore.Data.Fields.WordDocumentField.Styles property to access the Cascading Style Sheet code associated with that HTML. For example, you can implement a Web control based on the following example that outputs the styles and HTML of a Word Document field:
You can use the Sitecore.WordOCX.WordOCXUrlManager.GetDownloadLink method to retrieve a URL that provides access to the value of a Word Document field as a Word Document (.docx file).
For example, to retrieve a URL to access the Word Document field named WordDocument in the context item as a Word Document file: