Java Barcode Generator, .NET Barcode Generator for C#, ASP.NET, VB.NET
HOME BARCODE FOR .NET RDLC PURCHASE


.NET RDLC Reports Barcode Developer Guide > .NET RDLC Reports Barcode USPS OneCode Developer Guide

.NET RDLC Reports USPS OneCode Barcode Property Settings



1. USPS OneCode Barcode Property Settings
  • Set the Type property to BarcodeType.ONECODE
  • Set the Data property with the value to encode. Type is string.
    • Valid Data Scope:
      • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
    • Valid Data Format: The valid data length should be 20, 25, 29, or 31 digits.
    • Sample: "0123456709498765432101234567891"
  • AddCheckSum property is not applied.
  • Barcode Size Settings:
    • Set property UOM (Unit of Measure) for properties BarWidth, BarHeight, LeftMargin and TopMargin.
      Valid values are UnitOfMeasure.Pixel, UnitOfMeasure.CM, UnitOfMeasure.Inch.
      Default is UnitOfMeasure.Pixel.
    • Set the ImageWidth and ImageHeight properties.
      Both types are float.
      BarWidth default is 0 pixel.
      BarHeight default is 0 pixel.
    • Set the BarWidth (for bar cell width) and BarHeight (for bar cell height) properties.
      Both types are float.
      BarWidth default is 1 pixel.
      BarHeight default is 80 pixel.
    • Set the LeftMargin, RightMargin, TopMargin and BottomMargin properties.
      Types are all float. Default are 10.
    • Set the ResizeImage property to "true" and our component will resize the barcode image if manual setting is invalid.
      Type is bool. Default is false.
    • Set the Resolution property (Value is expressed in DPI - Dots per inch).
      Type is int. Default is 96 dpi.
  • Setting up text style in barcode image:
    • Set the ShowText properties. If ShowText is True, barcode data will be displayed with the barcode.
      Type is bool. Default is True.
      Valid values are: "True", and "False".
    • Set the TextFont property. The font used to display text in barcode image.
      Type is System.Drawing.Font. Default is new Font("Arial", 9f, FontStyle.Regular).
  • Set Color Related properties.
    • Set the BackgroundColor property. Barcode background color can be changed.
      Type is System.Drawing.Color. Default is BackgroundColor = Color.White.
    • Set the BarColor property. Barcode bars color can be changed.
      Type is System.Drawing.Color. Default is BarColor = Color.Black.
    • Set the TextFontColor property. Barcode human-readable data text color can be changed.
      Type is System.Drawing.Color. Default is TextFontColor = Color.Black.
  • Set the ImageFormat property for barcode image type.
    • Type is System.Drawing.Imaging.ImageFormat.
      Default value is ImageFormat.Png.
      Valid values are: Gif, Jpeg, Png, Bmp, Tiff.
  • Set Rotate property, if you want to rotate barcode image. Valid values are as below.
    • RotateOrientation.BottomFacingDown
    • RotateOrientation.BottomFacingLeft
    • RotateOrientation.BottomFacingUp
    • RotateOrientation.BottomFacingRight
    • Default Value is RotateOrientation.BottomFacingDown


2. All Barcode Types











   Copyright BarcodeLib.com. All rights reserved.