Share via


WebProperties.AllowPng Property

Definition

Allow PNG in HTML output

Represents the following attribute in the schema: allowPng

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

Property Value

Returns BooleanValue.

Attributes

Remarks

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

Specifies whether to allow the output of PNG format pictures in the HTML document.

The possible values for this attribute are defined by the XML Schema boolean datatype.

Applies to