⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 printmainwebform.aspx

📁 supermap开发的基站管理系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PrintMainWebForm.aspx.cs" Inherits="Gis_PrintMainWebForm" %>
<%@ Register Assembly ="SuperMap.IS.WebControls" Namespace ="SuperMap.IS.WebControls" TagPrefix ="smis" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script language ="javascript" type ="text/javascript" >
    function PrintMap()
    {
       window.print();
    }
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
         <div style ="position:absolute; z-index:100">
             <table >
                <tr>
                    <td><img onmousedown="SwitchBtn(6,'Down')" id="img06" onmouseover="SwitchBtn(6,'Over')"
                                                                alt="地图平移" style="cursor: hand" onclick="SMISActionStart('MapControl1','PAN');"
                                                                onmouseout="SwitchBtn(6,'Out')" src="images/btn_06_off.gif" title="地图平移"></td>
                    <td><asp:ImageButton onmousedown="showBusyFlag('MapControl1');SwitchBtn(2,'Down')" ID="img02"
                                                                onmouseover="SwitchBtn(2,'Over')" ToolTip="快速放大" Style="cursor: hand" onmouseout="SwitchBtn(2,'Out')"
                                                                runat="server" ImageUrl="images/btn_02_off.gif" OnClick="img02_Click" ></asp:ImageButton></td>
                    <td><asp:ImageButton onmousedown="showBusyFlag('MapControl1');SwitchBtn(3,'Down')" ID="img03"
                                                                onmouseover="SwitchBtn(3,'Over')" ToolTip="快速缩小" Style="cursor: hand" onmouseout="SwitchBtn(3,'Out')"
                                                                runat="server" ImageUrl="images/btn_03_off.gif" OnClick="img03_Click"></asp:ImageButton></td>
                    <td><img onmousedown="SwitchBtn(4,'Down')" id="img04" onmouseover="SwitchBtn(4,'Over')"
                                                                alt="拉框放大" style="cursor: hand" onclick="SMISActionStart('MapControl1','ZOOMIN')"
                                                                onmouseout="SwitchBtn(4,'Out')" src="images/btn_04_off.gif" title="拉框放大"></td>
                    <td><img onmousedown="SwitchBtn(5,'Down')" id="img05" onmouseover="SwitchBtn(5,'Over')"
                                                                alt="拉框缩小" style="cursor: hand" onclick="SMISActionStart('MapControl1','ZOOMOUT');"
                                                                onmouseout="SwitchBtn(5,'Out')" src="images/btn_05_off.gif" title="拉框缩小"></td>
                     <td> <img onmousedown="SwitchBtn(9,'Down')" id="img09" onmouseover="SwitchBtn(9,'Over')"
                                                                alt="地图打印" style="cursor: hand" onclick="PrintMap();"
                                                                onmouseout="SwitchBtn(9,'Out')" src="images/btn_09_off.gif" title="地图打印"></td>
                    
                </tr>
             </table>
             
         </div>
         <smis:MapControl ID="MapControl1" runat ="server" Width="944px" Height="490px"  MapName="河北" MaxScale="0" MinScale="0" OnViewBoundsChanged="MapControl1_ViewBoundsChanged" MapUrl="http://localhost:800/output/5938B3FA74239_0394A6AFB9B.png?t=9UerJiTXEu"   />
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -