Edit

Share via


DefaultWebOptions.Encoding Property

Definition

Returns or sets the document encoding (code page or character set) to be used by the Web browser when you view the saved document. The default is the system code page.

public:
 property Microsoft::Office::Core::MsoEncoding Encoding { Microsoft::Office::Core::MsoEncoding get(); void set(Microsoft::Office::Core::MsoEncoding value); };
public Microsoft.Office.Core.MsoEncoding Encoding { get; set; }
Public Property Encoding As MsoEncoding

Property Value

Remarks

You cannot use any of the MsoEncoding constants that have the suffix AutoDetect. These constants are used by the ReloadAs(MsoEncoding) method.

Applies to