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; }

Property Value

Type: MsoEncoding

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)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.