Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/331.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/87.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# 用c语言将html设计页面转换为图像#_C#_Html_Asp.net_Png - Fatal编程技术网

C# 用c语言将html设计页面转换为图像#

C# 用c语言将html设计页面转换为图像#,c#,html,asp.net,png,C#,Html,Asp.net,Png,我已经在asp.net中完成了html页面,我正在尝试将整个html页面设计转换为c#中的图像(png)。有人能给我一个想法吗 这是我的html代码: <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <div id="divpdf" runat="server"> <table id="tid" runat="server"&

我已经在asp.net中完成了html页面,我正在尝试将整个
html页面设计转换为c#
中的图像(png)。有人能给我一个想法吗

这是我的html代码:

 <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="divpdf" runat="server">
    <table id="tid" runat="server">
    <tr>
    <td>
        <asp:Label ID="Label1" runat="server" Text="this is new way of pdf" CssClass="cssformat"></asp:Label>
    </td>
    </tr>
    </table>
    </div>
    <table>
    <tr>
    <td>
        <asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />
    </td>
    </tr>
    </table>
    </asp:Content>


打印屏幕按钮。。。粘贴到您喜爱的图像编辑器中。又快又简单。这不是打印屏幕吗?