• Create, generate Planet barcodes in C#.NET programs
  • Create high quality Planet barcodes in Png, Gif, Jpeg, Tiff, or Bmp files in .NET projects using C#
  • Support to adjust width and height setting of the whole Planet image
  • Support to select pixel, cm, inch as unit measurement for Planet size
  • Absolute support to manage short bar to tall bar ratio of Planet barcode
  • Mature Planet barcode generating dll with royalty-free and perpetual developer license
Installation of .NET Barcode Generator in C# .NET
  1. Add BusinessRefinery.Barcode.Win.dll or BusinessRefinery.Barcode.Web.dll to your .NET project reference
  2. Add .NET Barcode Generator .NET Windows Control Library to .NET Visual Studio Toolbox
Setting Planet Barcode Size in C#.NET
C# Planet barcode provides a set of barcode size settings to specify you Planet barcodes. Please download C# barcode component and install, copy those following code to your Visual Studio:
     Linear barcode = new Linear();
     barcode.Symbology = Symbology.PLANET;
     barcode.Code = "9876543210";



BarcodeUnit is a unit of measure for all size related properties.
     barcode.BarcodeUnit = BarcodeUnit.PIXEL;

Planet Barcode Width Related Settings


BarWidth is the bar module width, which is also called X dimension.
     barcode.BarWidth = 5;

BarcodeWidth is the Planet barcode image width.
     barcode.BarcodeWidth = 200;
Left & Right Margin

LeftMargin is used to modify generated barcode image left margin.
RightMargin is used to modify generated barcode image right margin.
     barcode.LeftMargin = 3;
     barcode.RightMargin = 5;

Planet Barcode Height Related Settings


BarHeight is the Planet bar module height, which is also called Y dimension.
     barcode.BarHeight = 5;

ShortTallRatio is the short bar vs tall bar ratio.
     barcode.ShortTallRatio = 0.444444f;

BarcodeHeight is the Planet barcode image height.
     barcode.BarcodeHeight = 150;
Top & Bottom Margin

TopMargin is used for specifying generated barcode image top margin.
BottomMargin is used for specifying generated barcode image bottom margin.
     barcode.TopMargin = 3;
     barcode.BottomMargin = 5;
Text Margin

TextMargin is the space between barcode and barcode text.
     barcode.TextMargin = 20;
Text Font

TextFont is used for customizing drawn barcode value text font style.
     barcode.TextFont = new FontStyle("Arial", Font.PLAIN, 11);

Quick Links