Edytuj

Udostępnij za pośrednictwem


_Document.TextEncoding Property

Definition

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

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

Property Value

Remarks

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.

Applies to