wkhtmltoimage - Issue converting aspx file to image -


i've been using tuespechkin create images of html code application.

i'e been using following code when using html, if try load aspx files instead, code doesn't work.

var htmldocument = file.readalltext(@"c:\dev\git\groups\viz\slides\slide menu\003#survey\form.aspx"); var document = new htmltoimagedocument {     screenheight = 350,     screenwidth = 500,     format = "png",     loadsettings = new loadsettings { windowstatus = settings.windowstatus ?? "load-complete" },     in = htmldocument };  iconverter converter =     new standardconverter(         new imagetoolset(             new win32embeddeddeployment(                 new tempfolderdeployment())));  var resultbytes = converter.convert(document); 

i have tried read html string , load that, not working.

i using tuespechkin version 2.1.1.


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -