/// <summary> /// Using the predefined XHtmlHeaderProvider class. /// </summary> /// <param name="htmlHeaderProviderBuilder">Header Provider Builder</param> public void XHtmlHeader(Action <XHtmlHeaderProviderBuilder> htmlHeaderProviderBuilder) { var builder = new XHtmlHeaderProviderBuilder(); htmlHeaderProviderBuilder(builder); _pdfReport.DataBuilder.SetHeader(builder.HtmlHeaderProvider); }
/// <summary> /// Using the predefined XHtmlHeaderProvider class. /// </summary> /// <param name="htmlHeaderProviderBuilder">Header Provider Builder</param> public void XHtmlHeader(Action<XHtmlHeaderProviderBuilder> htmlHeaderProviderBuilder) { var builder = new XHtmlHeaderProviderBuilder(); htmlHeaderProviderBuilder(builder); _pdfReport.DataBuilder.SetHeader(builder.HtmlHeaderProvider); }