Example #1
0
        byte[] RunPdf()
        {
            var model = new Example { Name = "Alex", Email = "*****@*****.**", Values = new Dictionary<object, object> { { "Compiled", "No" }, { "Worked", "Yes" } }, Image = GetTestImage() };

            return builder.BuildPdf (model);
        }
Example #2
0
        string RunCompiled()
        {
            var model = new Example { Name = "Alex", Email = "*****@*****.**", Values = new Dictionary<object, object> { { "Compiled", "Yes" }, { "Worked", "Yes" } }, Image = GetTestImage () };

            return precompilingBuilder.BuildReport (model);
        }