Share via


WebProperties.Encoding Property

Definition

Encoding for HTML output

Represents the following attribute in the schema: encoding

[DocumentFormat.OpenXml.SchemaAttr(0, "encoding")]
public DocumentFormat.OpenXml.StringValue Encoding { get; set; }
public DocumentFormat.OpenXml.StringValue Encoding { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "encoding")]
public DocumentFormat.OpenXml.StringValue? Encoding { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("encoding")]
public DocumentFormat.OpenXml.StringValue? Encoding { get; set; }
public DocumentFormat.OpenXml.StringValue? Encoding { get; set; }
member this.Encoding : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "encoding")>]
member this.Encoding : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("encoding")>]
member this.Encoding : DocumentFormat.OpenXml.StringValue with get, set
Public Property Encoding As StringValue

Property Value

Returns StringValue.

Attributes

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.

Applies to