public Task <byte[]> GetPDF(Uri url) { return(WkhtmlDriver.Convert(WkhtmltopdfConfiguration.RotativaPath, _convertOptions.GetConvertOptions(), url)); }
public byte[] GetPDF(string html) { return(WkhtmlDriver.Convert(WkhtmltopdfConfiguration.RotativaPath, this.GetConvertOptions(), html)); }