/// <summary>
        /// Document settings
        /// </summary>
        /// <param name="pdfRptPagePreferencesBuilder">Document settings builder</param>
        /// <returns>PdfReport</returns>
        public PdfReport DocumentPreferences(Action <DocumentPreferencesBuilder> pdfRptPagePreferencesBuilder)
        {
            var builder = new DocumentPreferencesBuilder(this);

            pdfRptPagePreferencesBuilder(builder);
            return(this);
        }
Exemple #2
0
 /// <summary>
 /// Document settings
 /// </summary>
 /// <param name="pdfRptPagePreferencesBuilder">Document settings builder</param>
 /// <returns>PdfReport</returns>
 public PdfReport DocumentPreferences(Action<DocumentPreferencesBuilder> pdfRptPagePreferencesBuilder)
 {
     var builder = new DocumentPreferencesBuilder(this);
     pdfRptPagePreferencesBuilder(builder);
     return this;
 }