Поделиться через


NonVisualDrawingProperties.Name Property

Name.Represents the attribte in schema: name

Namespace:  DocumentFormat.OpenXml.Drawing.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "name")> _
Public Property Name As StringValue
    Get
    Set
'Usage
Dim instance As NonVisualDrawingProperties
Dim value As StringValue

value = instance.Name

instance.Name = value
[SchemaAttrAttribute(, "name")]
public StringValue Name { get; set; }

Property Value

Type: DocumentFormat.OpenXml.StringValue
Returns StringValue.

Remarks

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

Specifies the name of the object. Typically, this will be used to store the original file name of a picture object.

Consider a DrawingML object defined as follows:

< … name="foo.jpg" >

The name attribute has a value of foo.jpg, which is the name of this DrawingML object.

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

See Also

Reference

NonVisualDrawingProperties Class

NonVisualDrawingProperties Members

DocumentFormat.OpenXml.Drawing.Spreadsheet Namespace