/// <summary> /// Sets the table caption. /// </summary> /// <param name="table">The table.</param> /// <param name="caption">The caption.</param> /// <returns>The same instance so that multiple calls can be chained.</returns> public static Table Caption(this Table table, TableTitle caption) { if (table is null) { throw new ArgumentNullException(nameof(table)); } table.Caption = caption; return(table); }
public static Table SetHeading(this Table table, TableTitle heading) { if (table is null) { throw new ArgumentNullException(nameof(table)); } table.Title = heading; return(table); }
/// <summary> /// Sets the table title. /// </summary> /// <param name="table">The table.</param> /// <param name="title">The table title.</param> /// <returns>The same instance so that multiple calls can be chained.</returns> public static Table Title(this Table table, TableTitle title) { if (table is null) { throw new ArgumentNullException(nameof(table)); } table.Title = title; return(table); }
public static Table Footnote(this Table table, TableTitle footnote) { if (table is null) { throw new ArgumentNullException(nameof(table)); } table.Caption = footnote; return(table); }