Click or drag to resize
Barcode39 Class
Code 39 barcode class. Also known as: 3 of 9 Code, USD-3.
Inheritance Hierarchy

Namespace:  Limilabs.Barcode
Assembly:  Barcode (in Barcode.dll) Version: 2.0.0.20
Syntax
public class Barcode39 : SimpleBarcodeNW

The Barcode39 type exposes the following members.

Constructors
  NameDescription
Public methodBarcode39
Initializes a new instance of the Barcode39 class
Top
Properties
  NameDescription
Public propertyBackColor
Back color.
(Inherited from BaseBarcode.)
Public propertyBackColorOle
Back color for OLE.
(Inherited from BaseBarcode.)
Public propertyBarColor
Bar color.
(Inherited from BaseBarcode.)
Public propertyBarColorOle
Bar color for OLE.
(Inherited from BaseBarcode.)
Public propertyBearerBars
Bearer bars type.
(Inherited from SimpleBarcode.)
Public propertyBearerBarsSize
Bearer bars size in pixels.
(Inherited from SimpleBarcode.)
Public propertyChecksumAdd
True if checksum should be added.
(Inherited from BaseBarcode.)
Public propertyChecksumVisible
True if checksum should be visible in barcode text.
(Inherited from BaseBarcode.)
Public propertyCode128SetMode
You can specify the set that should be used when using Code128. Code128SetMode.BestFitABC is default.
(Inherited from BaseBarcode.)
Public propertyCustomText
Custom text which will be rendered instead of Number.
(Inherited from BaseBarcode.)
Public propertyEAN128IsFNC1OmmitedForFixedLength
True if FNC1 control character should be ommited for fixed length fields. This results in shorter barcode. True is default.
(Inherited from BaseBarcode.)
Public propertyFontHeight
Fraction of Height which will be reserved for text label. Between 0 and 1.0. Default is 0.15
(Inherited from BaseBarcode.)
Public propertyFontName
Font name that will be used for any text on barcode image.
(Inherited from BaseBarcode.)
Public propertyFontStyle
Font style that will be used for any text on barcode image.
(Inherited from BaseBarcode.)
Public propertyForeColor
Text color.
(Inherited from BaseBarcode.)
Public propertyForeColorOle
Text color for OLE.
(Inherited from BaseBarcode.)
Public propertyHeight
Barcode height in pixels.
(Inherited from BaseBarcode.)
Public propertyIsNumberVisible
True if text should be visible in rendered barcode.
(Inherited from BaseBarcode.)
Public propertyLeftQuietZone
Gets or sets quiet zone size. If SetMarginsAutomatically is set to true always returns this.NarrowBarWidth*9.
(Inherited from BaseBarcode.)
Public propertyNarrowBarWidth
Width of the narrow bar in rendered barcode in pixels.
(Inherited from BaseBarcode.)
Public propertyNumber
Barcode number. Separate supplement with ',' char.
(Inherited from BaseBarcode.)
Public propertyRatio
Wide/narrow bar ratio.
(Inherited from BaseBarcode.)
Public propertyRightQuietZone
Gets or sets quiet zone size. If SetMarginsAutomatically is set to true always returns this.NarrowBarWidth*9.
(Inherited from BaseBarcode.)
Public propertyRotation
Rotation of the rendered barcode.
(Inherited from BaseBarcode.)
Public propertySetMarginsAutomatically
If set to true RightQuietZone and LeftQuietZone always returns this.NarrowBarWidth*9.
(Inherited from BaseBarcode.)
Public propertyTextRenderingHint
Gets or sets text rendering hint.
(Inherited from BaseBarcode.)
Top
Methods
  NameDescription
Public methodCalculateChecksum
Calculates checksum
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLicenseFolder
Returns folder path from which component will load license file (BarcodeLicense.xml).
(Inherited from BaseBarcode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWidth (Inherited from BaseBarcode.)
Public methodRender
Creates new Bitmap with rendered Barcode.
(Inherited from BaseBarcode.)
Public methodRender(ImageType)
Creates new Bitmap with rendered barcode and returns byte array containing the image.
(Inherited from BaseBarcode.)
Public methodRender(Single, Single)
Creates new Bitmap with rendered Barcode.
(Inherited from BaseBarcode.)
Public methodRender(Graphics, Int32, Int32)
Renders barcode on specified graphics object.
(Inherited from BaseBarcode.)
Public methodRender(ImageType, Single, Single)
Creates new Bitmap with rendered barcode and returns byte array containing the image.
(Inherited from BaseBarcode.)
Public methodRenderDpi (Inherited from BaseBarcode.)
Public methodRenderHbitmap
Creates new Bitmap with rendered Barcode.
(Inherited from BaseBarcode.)
Public methodRenderHbitmap(Single, Single)
Creates new Bitmap with rendered Barcode.
(Inherited from BaseBarcode.)
Public methodRenderHbitmapDpi (Inherited from BaseBarcode.)
Public methodSave(Stream, ImageType)
Creates new Bitmap with rendered Barcode and saves it to the stream with specified image format.
(Inherited from BaseBarcode.)
Public methodSave(String, ImageType)
Creates new Bitmap with rendered Barcode and saves it to file of imageType format.
(Inherited from BaseBarcode.)
Public methodSave(Stream, ImageType, Single, Single)
Creates new Bitmap with rendered Barcode and saves it to the stream with specified image format and resolution
(Inherited from BaseBarcode.)
Public methodSave(String, ImageType, Single, Single)
Creates new Bitmap with rendered Barcode and saves it to file of imageType format.
(Inherited from BaseBarcode.)
Public methodSaveDpi (Inherited from BaseBarcode.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Code 39 is the most popular bar code symbology used for ID, inventory, tracking and labeling. It can be read by most types of scanners. Characters available for encoding include uppercase letters and numbers. It is self checking but when additional security is required, a check character is an option. It is the standard bar code used by the United States Department of Defense, and is also used by the Health Industry Bar Code Council (HIBCC).
See Also