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)

Syntax

'Declaration
<SchemaAttrAttribute(, "allowPng")> _
Public Property AllowPng As BooleanValue
    Get
    Set
'Usage
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.

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.

See Also

Reference

WebProperties Class

WebProperties Members

DocumentFormat.OpenXml.Presentation Namespace