1:   <%@ Register TagPrefix="cc1" Namespace="BarcodeNETWorkShop" Assembly="Barcodenet" %>
2:   <%@ Page language="c#" Codebehind="ImageDynamicDemo.aspx.cs" AutoEventWireup="false" Inherits="WebFeaturesDemoCS.ImageDynamicDemo" %>
3:   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
4:   <HTML>
5:       <HEAD>
6:           <title>BarcodeNET</title>
7:           <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
8:           <meta content="C#" name="CODE_LANGUAGE">
9:           <meta content="JavaScript" name="vs_defaultClientScript">
10:           <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
11:           <LINK href="style.css" type="text/css" rel="stylesheet">
12:       </HEAD>
13:       <body MS_POSITIONING="GridLayout">
14:           <form id="Form1" method="post" runat="server">
15:               <DIV class="calendar" align="center">
16:                   <TABLE id="table1" style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 8px" borderColor="#111111"
17:                       cellSpacing="0" cellPadding="0" width="900">
18:                       <TR>
19:                           <TD style="HEIGHT: 14px" bgColor="#006699">
20:                               <H2 class="comments-head">&nbsp;BarcodeNET / Image</H2>
21:                           </TD>
22:                       </TR>
23:                       <TR>
24:                           <TD>
25:                               <P align="center">
26:                                   <TABLE class="calendar" id="Table4" cellSpacing="1" cellPadding="1" width="100%" border="0">
27:                                       <TBODY>
28:                                           <TR>
29:                                               <TD vAlign="top">
30:                                                   <TABLE id="table3" style="WIDTH: 246px; HEIGHT: 350px" borderColor="#111111" height="280"
31:                                                       cellSpacing="0" cellPadding="2" width="246" borderColorLight="#0000ff" border="1">
32:                                                       <TR>
33:                                                           <TD align="center">
34:                                                               <P align="center"><cc1:barcodenetimage id="BarcodeNETImage1" runat="server" Height="248px"></cc1:barcodenetimage></P>
35:                                                               <P align="center">
36:                                                                   <asp:label id="lblErrMsg" runat="server" Font-Size="XX-Small"></asp:label></P>
37:                                                           </TD>
38:                                                       </TR>
39:                                                   </TABLE>
40:                                               </TD>
41:                                               <TD vAlign="top">
42:                                                   <P>
43:                                                       <TABLE id="Table5" style="FONT-SIZE: 8pt; BORDER-LEFT-COLOR: black; BORDER-BOTTOM-COLOR: black; BORDER-TOP-COLOR: black; BORDER-COLLAPSE: collapse; BACKGROUND-COLOR: #ccccff; BORDER-RIGHT-COLOR: black"
44:                                                           height="350" cellSpacing="3" cellPadding="1" width="100%" border="1">
45:                                                           <TR>
46:                                                               <TD vAlign="top">
47:                                                                   <TABLE class="calendar" id="Table2" cellSpacing="1" cellPadding="1" width="100%" border="0">
48:                                                                       <TR>
49:                                                                           <TD noWrap>Barcode Type
50:                                                                           </TD>
51:                                                                           <TD noWrap><asp:dropdownlist id="BarcodeType" runat="server" AutoPostBack="True" DESIGNTIMEDRAGDROP="178"></asp:dropdownlist></TD>
52:                                                                       </TR>
53:                                                                       <TR>
54:                                                                           <TD noWrap style="HEIGHT: 28px">Barcode Color
55:                                                                           </TD>
56:                                                                           <TD noWrap style="HEIGHT: 28px"><asp:dropdownlist id="BarcodeColor" runat="server" AutoPostBack="True" DESIGNTIMEDRAGDROP="190"></asp:dropdownlist></TD>
57:                                                                       </TR>
58:                                                                       <TR>
59:                                                                           <TD noWrap>BackGround Color</TD>
60:                                                                           <TD noWrap>
61:                                                                               <asp:dropdownlist id="BgColor" runat="server" DESIGNTIMEDRAGDROP="190" AutoPostBack="True"></asp:dropdownlist></TD>
62:                                                                       </TR>
63:                                                                       <TR>
64:                                                                           <TD noWrap>Text Color</TD>
65:                                                                           <TD noWrap><asp:dropdownlist id="TextColor" runat="server" AutoPostBack="True"></asp:dropdownlist></TD>
66:                                                                       </TR>
67:                                                                       <TR>
68:                                                                           <TD noWrap style="HEIGHT: 6px">File Format</TD>
69:                                                                           <TD noWrap style="HEIGHT: 6px"><asp:dropdownlist id="FileFormat" runat="server" AutoPostBack="True" DESIGNTIMEDRAGDROP="194"></asp:dropdownlist></TD>
70:                                                                       </TR>
71:                                                                       <TR>
72:                                                                           <TD noWrap>Rotate</TD>
73:                                                                           <TD noWrap><asp:dropdownlist id="RotateAngle" runat="server" Height="6px" AutoPostBack="True" Width="64px"></asp:dropdownlist></TD>
74:                                                                       </TR>
75:                                                                       <TR>
76:                                                                           <TD noWrap>Text Font</TD>
77:                                                                           <TD noWrap><asp:dropdownlist id="TextFontName" runat="server" AutoPostBack="True">
78:                                                                                   <asp:ListItem Value="Arial">Arial</asp:ListItem>
79:                                                                               </asp:dropdownlist></TD>
80:                                                                       </TR>
81:                                                                       <TR>
82:                                                                           <TD noWrap style="HEIGHT: 36px">Text Size</TD>
83:                                                                           <TD noWrap style="HEIGHT: 36px">
84:                                                                               <asp:dropdownlist id="TextFontSize" runat="server" DESIGNTIMEDRAGDROP="236" AutoPostBack="True">
85:                                                                                   <asp:ListItem Value="3">3</asp:ListItem>
86:                                                                                   <asp:ListItem Value="4">4</asp:ListItem>
87:                                                                                   <asp:ListItem Value="5">5</asp:ListItem>
88:                                                                                   <asp:ListItem Value="6">6</asp:ListItem>
89:                                                                                   <asp:ListItem Value="7">7</asp:ListItem>
90:                                                                                   <asp:ListItem Value="8" Selected="True">8</asp:ListItem>
91:                                                                                   <asp:ListItem Value="9">9</asp:ListItem>
92:                                                                                   <asp:ListItem Value="10">10</asp:ListItem>
93:                                                                                   <asp:ListItem Value="11">11</asp:ListItem>
94:                                                                                   <asp:ListItem Value="12">12</asp:ListItem>
95:                                                                                   <asp:ListItem Value="13">13</asp:ListItem>
96:                                                                                   <asp:ListItem Value="14">14</asp:ListItem>
97:                                                                                   <asp:ListItem Value="15">15</asp:ListItem>
98:                                                                               </asp:dropdownlist></TD>
99:                                                                       </TR>
100:                                                                       <TR>
101:                                                                           <TD noWrap>Exception Type</TD>
102:                                                                           <TD noWrap><asp:dropdownlist id="ExceptionType" runat="server" AutoPostBack="True"></asp:dropdownlist></TD>
103:                                                                       </TR>
104:                                                                       <TR>
105:                                                                           <TD noWrap>Supplemental&nbsp;Style</TD>
106:                                                                           <TD noWrap><asp:dropdownlist id="SupplementalTexStyle" runat="server" AutoPostBack="True"></asp:dropdownlist></TD>
107:                                                                       </TR>
108:                                                                       <TR>
109:                                                                           <TD noWrap><asp:checkbox class="calendar" id="ShowBarcodeText" runat="server" Text="Show Text" AutoPostBack="True"
110:                                                                                   Checked="True" DESIGNTIMEDRAGDROP="230"></asp:checkbox></TD>
111:                                                                           <TD noWrap><asp:checkbox class="calendar" id="SilentMode" runat="server" Text="Silent Mode" AutoPostBack="True"
112:                                                                                   DESIGNTIMEDRAGDROP="232"></asp:checkbox></TD>
113:                                                                       </TR>
114:                                                                       <TR>
115:                                                                           <TD noWrap><asp:checkbox class="calendar" id="ShowBorder" runat="server" Text="Show Border" AutoPostBack="True"
116:                                                                                   DESIGNTIMEDRAGDROP="234"></asp:checkbox></TD>
117:                                                                           <TD noWrap><asp:checkbox class="calendar" id="IncludeCheckSumDigit" runat="server" Text="Checksum Digit"
118:                                                                                   AutoPostBack="True" Checked="True" DESIGNTIMEDRAGDROP="236"></asp:checkbox></TD>
119:                                                                       </TR>
120:                                                                       <TR>
121:                                                                           <TD noWrap><asp:checkbox class="calendar" id="AntiAlias" runat="server" Text="Anti Alias" AutoPostBack="True"
122:                                                                                   DESIGNTIMEDRAGDROP="238"></asp:checkbox></TD>
123:                                                                           <TD noWrap>
124:                                                                               <asp:checkbox class="calendar" id="IsRounded" runat="server" Text="Rounded" DESIGNTIMEDRAGDROP="238"
125:                                                                                   AutoPostBack="True"></asp:checkbox></TD>
126:                                                                       </TR>
127:                                                                   </TABLE>
128:                                                               </TD>
129:                                                               <TD vAlign="top">
130:                                                                   <TABLE class="calendar" id="Table6" cellSpacing="1" cellPadding="1" width="100%" border="0">
131:                                                                       <TBODY>
132:                                                                           <TR>
133:                                                                               <TD>&nbsp;&nbsp;
134:                                                                               </TD>
135:                                                                               <TD>Barcode Text&nbsp;
136:                                                                               </TD>
137:                                                                               <TD><asp:textbox id="BarcodeText" runat="server"> BarcodeNET</asp:textbox></TD>
138:                                                                           </TR>
139:                                                                           <TR>
140:                                                                               <TD></TD>
141:                                                                               <TD><FONT face="Arial">Top Text</FONT></TD>
142:                                                                               <TD><FONT face="Arial">
143:                                                                                       <asp:textbox id="TopText" runat="server"> BarcodeNET</asp:textbox></FONT></TD>
144:                                                                           </TR>
145:                                                                           <TR>
146:                                                                               <TD></TD>
147:                                                                               <TD>Custom Text&nbsp;&nbsp;
148:                                                                               </TD>
149:                                                                               <TD><asp:textbox id="CustomText" runat="server"></asp:textbox></TD>
150:                                                                           </TR>
151:                                                                           <TR>
152:                                                                               <TD></TD>
153:                                                                               <TD>Supplemental Text</TD>
154:                                                                               <TD><asp:textbox id="SupplementalText" runat="server"></asp:textbox></TD>
155:                                                                           </TR>
156:                                                                           <TR>
157:                                                                               <TD></TD>
158:                                                                               <TD>Bar Hieght
159:                                                                               </TD>
160:                                                                               <TD><asp:textbox id="BarHieght" runat="server" Width="35px">60</asp:textbox></TD>
161:                                                                           </TR>
162:                                                                           <TR>
163:                                                                               <TD></TD>
164:                                                                               <TD>Bar Width</TD>
165:                                                                               <TD><asp:textbox id="BarWidth" runat="server" Width="35px" Columns="1">1</asp:textbox></TD>
166:                                                                           </TR>
167:                                                                           <TR>
168:                                                                               <TD style="HEIGHT: 14px"></TD>
169:                                                                               <TD style="HEIGHT: 14px"><FONT face="Arial">&nbsp;</FONT></TD>
170:                                                                               <TD style="HEIGHT: 14px"></TD>
171:                                                                           </TR>
172:                                                                           <TR>
173:                                                                               <TD style="HEIGHT: 14px"></TD>
174:                                                                               <TD style="HEIGHT: 14px">Margin</TD>
175:                                                                               <TD style="HEIGHT: 14px">
176:                                                                                   Left
177:                                                                                   <asp:dropdownlist id="MarginBoundLeft" runat="server" DESIGNTIMEDRAGDROP="335" AutoPostBack="True">
178:                                                                                       <asp:ListItem Value="3">3</asp:ListItem>
179:                                                                                       <asp:ListItem Value="4">4</asp:ListItem>
180:                                                                                       <asp:ListItem Value="5">5</asp:ListItem>
181:                                                                                       <asp:ListItem Value="6">6</asp:ListItem>
182:                                                                                       <asp:ListItem Value="7">7</asp:ListItem>
183:                                                                                       <asp:ListItem Value="8">8</asp:ListItem>
184:                                                                                       <asp:ListItem Value="9">9</asp:ListItem>
185:                                                                                       <asp:ListItem Value="10" Selected="True">10</asp:ListItem>
186:                                                                                       <asp:ListItem Value="11">11</asp:ListItem>
187:                                                                                       <asp:ListItem Value="12">12</asp:ListItem>
188:                                                                                       <asp:ListItem Value="13">13</asp:ListItem>
189:                                                                                       <asp:ListItem Value="14">14</asp:ListItem>
190:                                                                                       <asp:ListItem Value="15">15</asp:ListItem>
191:                                                                                   </asp:dropdownlist>Right<asp:dropdownlist id="MarginBoundRight" runat="server" AutoPostBack="True">
192:                                                                                       <asp:ListItem Value="3">3</asp:ListItem>
193:                                                                                       <asp:ListItem Value="4">4</asp:ListItem>
194:                                                                                       <asp:ListItem Value="5">5</asp:ListItem>
195:                                                                                       <asp:ListItem Value="6">6</asp:ListItem>
196:                                                                                       <asp:ListItem Value="7">7</asp:ListItem>
197:                                                                                       <asp:ListItem Value="8">8</asp:ListItem>
198:                                                                                       <asp:ListItem Value="9">9</asp:ListItem>
199:                                                                                       <asp:ListItem Value="10" Selected="True">10</asp:ListItem>
200:                                                                                       <asp:ListItem Value="11">11</asp:ListItem>
201:                                                                                       <asp:ListItem Value="12">12</asp:ListItem>
202:                                                                                       <asp:ListItem Value="13">13</asp:ListItem>
203:                                                                                       <asp:ListItem Value="14">14</asp:ListItem>
204:                                                                                       <asp:ListItem Value="15">15</asp:ListItem>
205:                                                                                   </asp:dropdownlist></TD>
206:                                                                           </TR>
207:                                                                           <TR>
208:                                                                               <TD></TD>
209:                                                                               <TD>
210:                                                                                   <P>&nbsp;</P>
211:                                                                               </TD>
212: