Share via


CellMerge.Author Property

author.Represents the attribte in schema: w:author

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "author")> _
Public Property Author As StringValue
    Get
    Set
'Usage
Dim instance As CellMerge
Dim value As StringValue

value = instance.Author

instance.Author = value
[SchemaAttrAttribute(, "author")]
public StringValue Author { 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 author for an annotation within a WordprocessingML document.

If this attribute is omitted, then no author shall be associated with the parent annotation type.

Consider a comment represented using the following WordprocessingML fragment:

<w:… w:id="1" w:author="Example Author">
  …
</w:…>

The author attribute specifies that the author of the current annotation is Example Author, which may be used as desired.

The possible values for this attribute are defined by the ST_String simple type.

See Also

Reference

CellMerge Class

CellMerge Members

DocumentFormat.OpenXml.Wordprocessing Namespace