Typically, you would drop BarcodeImage on a web form in Visual Studio in a web application.
This would generate HTML code like this,
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="Bokai.Barcodes.WebSample3.WebForm1" %> <%@ Register TagPrefix="bokai" Namespace="Bokai.Barcodes" Assembly="Bokai.Barcodes" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <HTML> <HEAD> <title>WebForm1</title> <meta name="GENERATOR" Content="Microsoft Visual Studio 7.0"> <meta name="CODE_LANGUAGE" Content="C#"> <meta name="vs_defaultClientScript" content="JavaScript"> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> </HEAD> <body MS_POSITIONING="GridLayout"> <form id="WebForm1" method="post" runat="server"> <bokai:BarcodeImage id="BarcodeImage1" runat="server" Width="242px" Height="64px" BarcodeType="UPCA_2" AddOnData="56" Data="12345678901"> </bokai:BarcodeImage> </form> </body> </HTML>You can manippulate the BarcodeImage instance in code just as you would a control in a Windows Forms application, by setting properties and calling methods on it.