Options.DefaultTextEncoding Property

Definition

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.

public:
 property Microsoft::Office::Core::MsoEncoding DefaultTextEncoding { Microsoft::Office::Core::MsoEncoding get(); void set(Microsoft::Office::Core::MsoEncoding value); };
public Microsoft.Office.Core.MsoEncoding DefaultTextEncoding { get; set; }
member this.DefaultTextEncoding : Microsoft.Office.Core.MsoEncoding with get, set
Public Property DefaultTextEncoding As MsoEncoding

Property Value

Remarks

Use the TextEncoding property to set the encoding for an individual document. To set encoding for HTML documents, use the Encoding property.

Applies to