GridWorksheet.SetColumnCaption

GridWorksheet.SetColumnCaption method

Sets the caption for the column.please note this is an extension attribute and can not keep in excel file

public void SetColumnCaption(int column, string caption)
ParameterTypeDescription
columnInt32Column index.
captionStringThe column caption. Pass null or empty string if you want cancel the caption.

See Also