title: Change DataLabels of Excel chart at once in C#
body: <p>I'm using the following code to change the datalabels of excel chart in C#</p>
  
  <pre><code>using Xl = Microsoft.Office.Interop.Excel;
  using officeState = Microsoft.Office.Core.MsoTriState;
  ....
  
  
  for (int i = 0; i &lt; rows.Count; i++)
  {
      series1 = (Xl.Series)xlChart.SeriesCollection(i + 1);
      for (int k = 0; k &lt; cols.Count; k++)
      {
          Xl.DataLabel dl = series1.DataLabels(k + 1) as Xl.DataLabel;
          dl.Font.Bold = officeState.msoTrue;
          dl.Font.Size = 11;
          dl.Font.Name = "Times New Roman";
      }
  
  }
  </code></pre>
  
  <p>Is it possible to change all datalabel font at once ?
  Thanks</p>