共用方式為


NonVisualDrawingProperties.Description Property

Definition

Description of the drawing element.

Represents the following attribute in the schema: 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

Property Value

Returns StringValue.

Attributes

Remarks

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

Specifies alternative text for the current DrawingML object, for use by assistive technologies or applications which will not display the current object.

If this element is omitted, then no alternative text is present for the parent object.

Consider a DrawingML object defined as follows:

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

The descr attribute contains alternative text which may be used in place of the actual DrawingML object.

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

Applies to