示例#1
0
 /// <summary>
 /// Fires when there's no data to render.
 /// By setting MainTableEvents.DataSourceIsEmptyEvent property value directly, this method will be ignored.
 /// </summary>
 /// <param name="message">a message to show</param>
 public void DataSourceIsEmptyEvent(string message)
 {
     _mainTableEvents.DataSourceIsEmpty = args => TableHelper.AddDefaultEmptyDataSourceTable(args.PdfDoc, PdfFont, _runDirection, message);
 }