VB.NET ISSN Generator Size Setting Tutorial
sample source code to generate linear ISSN images and adjust barcode size in VB.NET
- Automatically calculate the check digit and generate "977" in ISSN
- Draw supplement barcode
- Set the height of supplement bars based on the height of bars in main barcode
- Easy to set the space between add-on symbol and main barcode
- Easy to create high quality ISSN Png, Gif, Jpeg, Tiff, or Bmp files
- Set the width and height of the module bar
- Support the width setting of surrounding margins
- Support the width and height setting of the whole ISSN image
- Easy to set the space between main barcode and supplement barcode
ISSN, also known as International Standard Serial Number, is a numeric-only linear barcode used for identifying periodical publications such as magazines.
How to generate, print barcode using .NET, Java sdk library control with example project source code free download:
ISSN Symbology Structure
W: the width of ISSN barcode image, including quiet zones, controlled by property BarCodeWidth
X (X ≥ 1 pixel): the width of ISSN narrowest bar, controlled by property X
C: the number of ISSN encoded data characters, including the check digit; C =12
Q (Q ≥ 10X): the width of the quiet zone, related to property LeftMargin & RightMargin
More information about ISSN barcode settings in VB.NET Barcode Generator,please see:
ISSN VB.NET Generator Size Setting Tutorial
After ISSN VB.NET Generator installation, get it ready in VB.NET by placing the following statement:
Dim issn As OnBarcode.Barcode.Linear
issn = New OnBarcode.Barcode.Linear
issn.Type = OnBarcode.Barcode.BarcodeType.ISSN
If supplement barcode is needed, please select ISSN_2 or ISSN_5 instead of ISSN. Please remember to add string value to property SupData.
SupHeight & SupSpace
The height of the supplement barcode is controlled by property SupHeight (Type: Float; Default: 0.8).The space between the main barcode and the supplement barcode is set by property SupSpace (Float; Default: 15 pixels).
Sample usage:
issn.SupHeight = 0.7
issn.SupSpace = 10
UOM
UOM is the controller of size setting unit. Pixel, Cm, and Inch are provided as its options. The default value of UOM is Pixel. For example, type the following statement to select Pixel as the unit of size setting measure:
issn.UOM = OnBarcode.Barcode.UnitOfMeasure.PIXEL
X & Y
Property X (Type: Float; Default: 1) and Property Y (Type: Float; Default: 60) are used in ISSN barcode symbol size setting. X is for the module width setting (supplement barcode included), and Y controls the height of the bar.
Sample usage:
issn.X = 2
issn.Y = 70
BarCodeHeight & BarCodeWidth
Property BarCodeHeight (Type: Float; Default: 0) and Property BarCodeWidth (Type: Float; Default: 0) to set the size of the whole image.
Sample usage:
issn.BarcodeHeight = 60
issn.BarcodeWidth = 175
AutoResize
When the value of X, Y, BarCodeWidth, and BarCodeHeight conflict with each other, Property AutoResize (Type: bool; Default: False) should be enabled to solve the problem and make the ISSN 100% compatible with its symbology specification. See ISSN Barcode Size in VB.NET to know more usage of AutoResize.
Sample usage:
issn.X = 2
issn.BarcodeHeight = 60
issn.AutoResize = True
TopMargin, BottomMargin, LeftMargin, & RightMargin
Using ISSN VB.NET Generator, a quiet zone with 10X width will be generated automatically at each side of the ISSN. When wider quiet zone is needed, you can increase the value of properties LeftMargin (Type: Float; Default: 0) and RightMargin (Type: Float; Default: 0). You can also create margins using TopMargin (Type: Float; Default: 0) and BottomMargin (Type: Float; Default: 0).
Sample usage:
issn.TopMargin = 10
issn.BottomMargin = 10
issn.LeftMargin = 10
issn.RightMargin = 10
TextMargin
Human readable text are required in almost every linear barcode symbology. Property TextMargin (Type: Float; Default: 6 pixel) is used to set the space between ISSN bar code and the human readable text below the barcode.
Sample usage:
issn.TextMargin = 10