Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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.