Manual For MW6 Aztec ASP.Net Component


Index:

Installation and Testing

MW6 Aztec ASP.Net Component can add professional quality 2D barcode image to your ASP.Net web application.  Do the following procedures for installation and testing.

  1. Copy the MW6AztecASPNet.dll to the bin folder of the IIS server. For example, you can copy MW6AztecASPNet.dll to the folder C:\Inetpub\wwwroot\bin

  2. Copy Demo.html, CreateImgVB.aspx, CreateImgCS.aspx, Show.aspx to a folder of the IIS server. For example, you can create one folder "C:\Inetpub\wwwroot\MyFolder" and copy those 4 files to this folder.

  3. Enter the URL of Demo.html to your browser for verifying whether Aztec ASP.Net component is working or not. For example, you can enter http://localhost/MyFolder/Demo.html for testing it on the IIS server itself.  

Back to Top


 

Methods and Properties

Methods:

  • void Render(Graphics RenderG, Rectangle AreaRC)
    Send Aztec barcode image to the device graphics specified by RenderG,  the barcode is drawn in the specific rectangle indicated by AreaRC. 

Properties:

  • BarColor: Bar color and text color, the default is black.
  • BackColor: Background color, the default is white.
  • Data: The message encoded by the barcode, the default is "12".
  • CellSize: The size for the basic cell module in CM (centimeter), the default is 0.2CM.
  • Orientation: The orientation of barcode with 4 options, the default is value 0 indicating 0 degree.
    • 0 indicating 0 degree
    • 1 indicating 90 degrees
    • 2 indicating 180 degrees
    • 3 indicating 270 degrees

Back to Top