AutoCaption.Name Property
Identifier of Object to be Automatically Captioned.Represents the attribte in schema: w:name
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<SchemaAttrAttribute(, "name")> _
Public Property Name As StringValue
Get
Set
'Usage
Dim instance As AutoCaption
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 a unique identifier which may be used to associate objects inserted into the document which are to be automatically labeled with a caption when inserted into the WordprocessingML document.
Consider the following WordprocessingML specifying that WordprocessingML tables should be labeled with the custom caption:
<w:autoCaption w:name="wfwTables" w:caption="custom" />
The name attribute’s value of wfwTables specifies that WordprocessingML tables shall be labeled with the custom caption.
The possible values for this attribute are defined by the ST_String simple type.