Share via


DefaultWebOptions.AlwaysSaveInDefaultEncoding Property

True if the default encoding is used when you save a Web page or plain text document, independent of the file's original encoding when opened. False if the original encoding of the file is used. The default value is False.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property AlwaysSaveInDefaultEncoding As Boolean
    Get
    Set
'Usage
Dim instance As DefaultWebOptions
Dim value As Boolean

value = instance.AlwaysSaveInDefaultEncoding

instance.AlwaysSaveInDefaultEncoding = value
bool AlwaysSaveInDefaultEncoding { get; set; }

Property Value

Type: System.Boolean

Remarks

The Encoding property can be used to set the default encoding.

See Also

Reference

DefaultWebOptions Interface

DefaultWebOptions Members

Microsoft.Office.Interop.Excel Namespace