共用方式為


WebProperties.Encoding Property

Encoding for HTML output.Represents the attribte in schema: encoding

Namespace:  DocumentFormat.OpenXml.Presentation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "encoding")> _
Public Property Encoding As StringValue
    Get
    Set
'Usage
Dim instance As WebProperties
Dim value As StringValue

value = instance.Encoding

instance.Encoding = value
[SchemaAttrAttribute(, "encoding")]
public StringValue Encoding { get; set; }

Property Value

Type: DocumentFormat.OpenXml.StringValue
Returns StringValue.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies the particular HTML character set encoding that should be used when generating output.

The possible values for this attribute are defined by the ST_WebEncoding simple type.

See Also

Reference

WebProperties Class

WebProperties Members

DocumentFormat.OpenXml.Presentation Namespace