DocumentTableColumn.Name property

Gets or sets the name of this column used to access the column’s data in a template document passed to DocumentAssembler.

public string Name { get; set; }


If the column’s name is read from a document (see FirstRowContainsColumnNames), the name is automatically corrected so that it to be valid. However, if the column’s name is set manually through this property and the name is invalid, an exception is thrown.

The column’s name is considered to be valid, if the following conditions are met:

  • The name is not empty.
  • The name’s first character is a letter or underscore.
  • The rest of the name’s characters are letters, underscores, digits, or the following characters: ‘@’, ‘#’, ‘$’.
  • The corresponding DocumentTable object does not contain a DocumentTableColumn instance with the same name.

See Also