Options.DefaultTextEncoding Property
Returns or sets a MsoEncoding constant representing the code page, or character set, that Microsoft Word uses for all documents saved as encoded text files.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property DefaultTextEncoding As MsoEncoding
Get
Set
'Usage
Dim instance As Options
Dim value As MsoEncoding
value = instance.DefaultTextEncoding
instance.DefaultTextEncoding = value
MsoEncoding DefaultTextEncoding { get; set; }
Property Value
Type: MsoEncoding
Remarks
Use the TextEncoding property to set the encoding for an individual document. To set encoding for HTML documents, use the Encoding property.