NonVisualDrawingProperties.Description 属性

定义

绘图元素的说明。

表示架构中的以下属性:descr

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

属性值

返回 StringValue

属性

注解

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

指定当前 DrawingML 对象的可选文本,供不会显示当前对象的辅助技术或应用程序使用。

如果省略此元素,则父对象不存在任何可选文本。

请考虑定义如下的 DrawingML 对象:

<… descr="A picture of a bowl of fruit">  

特性 descr 包含替代文本,这些文本可用于替换实际的 DrawingML 对象。

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

适用于