Partager via


DefaultWebOptions.AlwaysSaveInDefaultEncoding Property

Determines whether the default encoding is used when you save a Web page or plain text document, independent of the file's original encoding when opened. Read/write.

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

Syntax

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

value = instance.AlwaysSaveInDefaultEncoding

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

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

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

The value of the AlwaysSaveInDefaultEncoding property can be one of these MsoTriState constants.

Constant

Description

msoFalse

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

msoTrue

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

See Also

Reference

DefaultWebOptions Interface

DefaultWebOptions Members

Microsoft.Office.Interop.PowerPoint Namespace