Exemplo n.º 1
0
 public static byte[] ConvertHtml(string wkhtmltopdfPath, string switches, string html)
 {
     return(WkhtmltopdfDriver.Convert(wkhtmltopdfPath, switches, html));
 }
Exemplo n.º 2
0
        protected virtual byte[] CallTheDriver(ActionContext context)
        {
            string wkParams = this.GetWkParams(context);

            return(WkhtmltopdfDriver.Convert(this.WkhtmltopdfPath, wkParams));
        }