Code 39 Barcode FAQ for Winforms

.NET Barcode Component for .NET Winforms, Code 39 Barcode Image, Data, and Size Issues
Terrek Barcode for Winforms - Code 39 Barcode FAQ
Code 39 .NET Barcode generator for Winforms is a Code 39 specified barcode generator that integrates with .NET Windows Forms applications. The generator is a .NET control for Winforms with Code 39 encoding and printing capabilities. Extended Code 39 is supported.
This walkthrough page introduces the following aspects of Code 39 generation:
  • Code 39 in Barcode Winforms Control - Data Encoding Support
  • Code 39 in Barcode Winforms Control - Barcode Scaling Support
  • Code 39 in Barcode Winforms Control - Image Setting Support
  • Code 39 in Barcode Winforms Control - Solution Projects Support
Terrek also provides more Code 39 barcode generators for solutions in distinct developing environments, including Code 39 Server Control, Code 39 SSRS CRI, Code 39 Java SDK, &Code 39 Excel Add-in.
Code 39 in Barcode Winforms Control - Data Encoding Support
Code 39 Valid Data
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Uppercase letters (A - Z)
  • - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)
Extended Code 39
Extended Code 39 is supported by Barcode Winforms Control Generator, thus, lowercase letters become encodable.
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Uppercase letters (A - Z)
  • Lowercase letters (a - z)
  • - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)
Code 39 in Barcode Winforms Control - Barcode Scaling Support
Bar Size
The height of bar is controlled by BarHeight. The width of narrow bar is managed by BarWidth and the width of the wide bar is influenced by BarWidth and WideVSNarrow.
Inter-character Space
The width of gaps between two characters in Code 39 could be adjusted with InterCharGap. It is a multiple of X.
Margins Width
Increasing the width of margins around the symbol is one way to enhance the readability of the Code 39 barcode image. The control library set the left, right, top, and bottom margins separately with float values. The default value is 0.
Image Size
If the breakdown parameters are unknown, you can set the width and height of the barcode image directly. Once you enabled the image resize function, you only need to provide the size of entire barcode image. This intelligent Code 39 will draw the barcode with reasonable parameters. The generated Code 39 is 100% compatible with ISO / IEC 16388 (2nd edition 2007-05-15).
Code 39 in Barcode Winforms Control - Image Setting Support
Image Formats
With Terrek Barcode Winforms Control DLL, Code 39 is created as high quality GIF, JPEG, or PNG graphic images. Tiff and Bitmap are supported as well. Please ensure the accordance of image format and suffix of image file name.
Image Resolution
DPI (Dots per inch) is used commonly as the measure of printing resolution. The resolution of image generated by Code 39 generator could be managed with DPI.
Image Rotation
In case of any specified requirement of the image orientation, image rotation function is added to the control library. Rotation angles of 90, 180, and 270 degrees are supported.
Code 39 in Barcode Winforms Control - Solution Projects Support
Code 39 Barcode Winforms Control integrates with the following types of projects:
  • Console Application (runtime support)
  • Windows Forms Application (design-time and runtime support)
  • Class Library (runtime support)
  • Windows Service (runtime support)