Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/299.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/69.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 在窗口服务下将html转换为图像_C#_Html_Image_Windows Services - Fatal编程技术网

C# 在窗口服务下将html转换为图像

C# 在窗口服务下将html转换为图像,c#,html,image,windows-services,C#,Html,Image,Windows Services,我们正在尝试使用此链接将html转换为图像 在窗口服务下,它需要是statThread。 我已经创建了一个stat线程并等待转换,没有输出或导航到文件或站点。 有人建议元帅,有没有人有这样的想法? 谢谢。看看,尤其是我认为我的问题是应用程序。DoEvent();如果这是我的答案,我将发布它,感谢您的指导,这是我们第一次使用Wkhtml开源。但现在我们使用动态pdf

我们正在尝试使用此链接将html转换为图像

在窗口服务下,它需要是statThread。 我已经创建了一个stat线程并等待转换,没有输出或导航到文件或站点。 有人建议元帅,有没有人有这样的想法?
谢谢。

看看,尤其是

我认为我的问题是应用程序。DoEvent();如果这是我的答案,我将发布它,感谢您的指导,这是我们第一次使用Wkhtml开源。但现在我们使用动态pdf