Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

_Document.TextEncoding property

Returns or sets the code page, or character set, that Microsoft Word uses for a document saved as an encoded text file.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
MsoEncoding TextEncoding { get; set; }

The TextEncoding property sets text encoding separately from HTML encoding, which you can set using the Encoding property. To set text encoding for all documents saved as text files, use the DefaultTextEncoding property.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.