WebProperties.AllowPng Property

Allow PNG in HTML output.Represents the attribte in schema: allowPng

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


<SchemaAttrAttribute(, "allowPng")> _
Public Property AllowPng As BooleanValue
Dim instance As WebProperties
Dim value As BooleanValue

value = instance.AllowPng

instance.AllowPng = value
[SchemaAttrAttribute(, "allowPng")]
public BooleanValue AllowPng { get; set; }

Property Value

Type: DocumentFormat.OpenXml.BooleanValue
Returns BooleanValue.


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.

See Also


WebProperties Class

WebProperties Members

DocumentFormat.OpenXml.Presentation Namespace