示例#1
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);
        }
示例#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;
 }