WebProperties.AllowPng 属性

定义

允许 HTML 输出中的 PNG

表示架构中的以下属性: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

属性值

返回 BooleanValue

属性

注解

使用此类时,ECMA 国际标准 ECMA-376 中的以下信息可能很有用。

指定是否允许输出 HTML 文档中的 PNG 格式图片。

此属性的可能值由 XML 架构 boolean 数据类型定义。

适用于