Code 25 Barcode Generator for ASP.NET Web Applications
|
|
![]() |
(The DLL will be copied to the bin directory automatically)
(If there is no Components Tab in the Toolbox, add a new tab named Components)
Create file Directory barcode in Internet Information Services (IIS)
http://YourDomain:Port/barcode/linear.aspx?DATA=123456789&SYMBOLOGY=3
<img src="http://YourDomain:Port /barcode/linear.aspx?DATA=123456789&SYMBOLOGY=3" />
Barcode Settings
Properties | Value |
Comments |
||
Property | URL | Options | Default | |
Data | DATA | (12-digit numeric data to encode in the Code 2 of 5) | "128" | Code 2 of 5 value to encode Code 2 of 5 Character Set: Numeric Character 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 |
SYMBOLOGY |
SYMBOLOGY | Code_25 |
Code128Auto | In ASP.NET, set the value to Symbology.Code_25 In IIS, set the value in URL to SYMBOLOGY=3 |
Code 2 of 5 Special Settings
Properties | Value | Comments |
||
Property | URL | Options | Default | |
N |
N |
float |
2 |
|
Code 2 of 5 Text Settings
Properties | Value | Comments |
||
Property | URL | Options | Default | |
ShowText |
SHOW-TEXT |
True or False |
True |
|
TextColor |
TEXT-COLOR |
Color |
Black | Color of the shown text |
TextFont
|
TEXT-FONT
|
Font |
Arial, 10pt | The font, font style and font size of the text |
TextMargin
|
TEXT-COLOR
|
float |
6 | The space between the text and the barcode symbol |
Code 2 of 5 Size Settings
Properties | Value | Comments |
||
Property | URL | Options | Default | |
Angle
|
ANGLE |
Degree0, 90, 180, 270
|
Degree0 | Rotate the Angle of the Code 2 of 5 images |
AutoResize
|
AUTO-RESIZE |
True or False
|
False | Auto resize the generated barcode image |
BarcodeImageHeight |
BARCODE-IMAGE-HEIGHT |
float |
0 | Barcode image Height |
BarcodeImageWidth |
BARCODE-IMAGE-WIDTH |
float |
0 | Barcode image Width |
BottomMargin |
BOTTOM-MARGIN |
float |
0 | Barcode image bottom margin size |
MarginLeft | MARGINE-LEFT | float | 0 | Barcode image left margin size |
RightMargin | RIGHT-MARGIN | float | 0 | Barcode image right margin size. |
TopMargin | TOP-MARGIN | float | 0 | Barcode image Top margin size |
UOM |
UOM |
Pixel, Cm, or Inch |
Pixel | Unit of Measure for all numeric properties |
X | X | float | 2 | Width of barcode bar module (narrow bar), default is 2 pixel |
Y | Y | float | 75 | Height of barcode bar module, default is 75 pixel |
Code 2 of 5 Color Settings
Properties | Value | Comments |
||
Property | URL | Options | Default | |
BackgroundColor |
BACK -GROUND-COLOR |
Color
|
white | Barcode image background color |
ForegroundColor |
FORE GROUND-COLOR |
Color |
black | Barcode image foreground color |
Code 2 of 5 Image Settings
Properties | Value | Comments |
||
Property | URL | Options | Default | |
DPI |
DPI |
float |
72 | Resolution of Code 2 of 5 Image, Dots Per Inch |
ImageFormat |
IMAGE-FORMAT |
Memory Bmp, Bmp, Emf, Wmf, Gif, Jpeg, Png, Tiff, Exif, or Icon |
Gif | Barcode image format |