BarcodeNET for Web Form
Client component for barcode image server.
| C# | Visual Basic | Visual C++ |
public class BarcodeNETImage : WebControl
Public Class BarcodeNETImage _ Inherits WebControl
public ref class BarcodeNETImage : public WebControl
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| BarcodeNETImage()()()() |
Initail BarcodeNET
| |
| AntiAlias |
Set anti-alias for BarcodeText
| |
| BarcodeColor |
Set or get the color of the barcode
| |
| BarcodeGap |
Control the gap between barcode and text (in pixel).
The gap on top was disabled for free edition.
| |
| BarcodeMargins |
Gets or sets the barcode margins.
| |
| BARCODENET_LICENSE_CODE | ||
| BARCODENET_LICENSE_TITLE | ||
| BarcodeText |
Set or get the text for encoding
| |
| BarcodeType |
Set or get the which type of barcode to encoding
| |
| BarHeight |
Set or get the hieght of barcode (in pixel)
| |
| BarWidth |
Control the size for single bar (in pixel), changing this property will extend the width of entire image.
| |
| BgColor |
Backgound Color
| |
| CustomText |
Set or get custom text here to replace barcodeText.
| |
| DrawBarcode(Stream) |
Draws the barcode.
| |
| DrawBarcode(HttpContext) |
Draws the barcode.
| |
| DrawBarcodeByQueryString(HttpContext) |
Recieve all querystring parameters ,and override the properties.
Using this function to implement image server or handler in one line.
| |
| ExceptionType |
How to handle error when a exception occured.
| |
| FileFormat |
Set the file format of the barcode image stream.
| |
| Finalize()()()() | (Overrides Object.Finalize()()()().) | |
| GetBarcodeBitmap()()()() |
Get the Bitmap stream for current barcode, useful when printing
| |
| GetBarcodeBitmap(Single, Single) |
Get the Bitmap stream for current barcode, useful when printing
The dpi will effect the actual size of the image
| |
| GetBarcodeBitmap(FILE_FORMAT) |
Gets the barcode bitmap.
| |
| GetBarcodeBitmap(Single, Single, FILE_FORMAT) |
Gets the barcode bitmap.
| |
| GetCheckSumDigit()()()() |
Gets the check sum digit.
| |
| GetDefaultBarcodeText(BARCODE_TYPE) |
Gets the default barcode text.
| |
| GetDefaultSupplementalText(BARCODE_TYPE) |
Gets the default supplemental text.
| |
| Height | (Overrides WebControl.Height.) | |
| ImageDpi |
Gets or sets the image dpi.
| |
| ImageScale |
Gets or Set image scale
| |
| ImageServerURL |
Change this property to point your customized image factory.
It a URL address shuld started with "http:://". The default value is http://localhost/barcodenet/imageserver.aspx
| |
| IncludeChecksumDigit |
Some barcode scanner can set up to disable checksum verify.
set this value to meet your hardware setting
| |
| IsRounded |
Set to enable rounded corner
| |
| MeasureUnit |
Gets or sets the measure unit.
| |
| OnPreRender(EventArgs) | (Overrides Control.OnPreRender(EventArgs).) | |
| Render(HtmlTextWriter) | (Overrides WebControl.Render(HtmlTextWriter).) | |
| RotateAngle |
The angle to rotate the barcode
| |
| SaveToFile(String) |
Save the current barcode image to the file path,the default format is GIF
| |
| SaveToFile(String, FILE_FORMAT, Int32, Int32) |
Saves to file.
| |
| SaveToFile(String, FILE_FORMAT) |
Save the current barcode image to the file path
| |
| ShowBarcodeText |
Decide if the encoded text will be shown in the BarcodeNET
| |
| ShowBorder |
Display border in the bound
| |
| SilentMode |
Set or get the the barcode visability
| |
| SupplementalText |
The barcode encoding for EAN ,UPC family with supplemetal text
| |
| SupplementalTextStyle |
Set the style of supplemental text..
| |
| TextColor |
The color of the text , default is black.
| |
| TextFont |
Set or get the font type used in BarcodeNET. The default is Arial size 8.
| |
| TopText |
Set this property to change custom text on top of barcode.
This property was disabled for free editon.
| |
| WebImageScale |
Gets or sets the image scale.
| |
| Width | (Overrides WebControl.Width.) |
| Object | |||
| Control | |||
| WebControl | |||
| BarcodeNETImage | |||