Udostępnij za pośrednictwem


CellMerge.Author Property

Definition

author

Represents the following attribute in the schema: w:author

[DocumentFormat.OpenXml.SchemaAttr(23, "author")]
public DocumentFormat.OpenXml.StringValue Author { get; set; }
public DocumentFormat.OpenXml.StringValue Author { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "author")]
public DocumentFormat.OpenXml.StringValue? Author { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:author")]
public DocumentFormat.OpenXml.StringValue? Author { get; set; }
public DocumentFormat.OpenXml.StringValue? Author { get; set; }
member this.Author : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "author")>]
member this.Author : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:author")>]
member this.Author : DocumentFormat.OpenXml.StringValue with get, set
Public Property Author 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 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.

Applies to