[]
        
(Showing Draft Content)

C1.Win.BarCode.C1BarCode

C1BarCode Class

Winforms control that encodes text value into barcode image.

Inheritance
C1BarCode
Namespace: C1.Win.BarCode
Assembly: C1.Win.Barcode.4.8.dll
Syntax
[ToolboxBitmap(typeof(C1BarCode), "C1BarCode.VisualStudio.11.0.png")]
public class C1BarCode : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable

Constructors

Name Description
C1BarCode()

Initializes a new instance of the C1BarCode class.

Properties

Name Description
AdditionalNumber

Additional number for supplemental barcodes

AutoSize

When set to True, the barcode automatically stretches to fit the control.

BarDirection

Direction of the barcode.

BarHeight

The height of the bars in screen pixels.

CaptionAlignment

Barcode caption alignment relative to the barcode symbol

CaptionGrouping

Draw separated caption for certain barcodes (EAN 8/13, UPC-A/E).

CaptionPosition

Barcode caption position relative to the barcode symbol

CheckSumEnabled

Gets or sets a value indicating whether a checksum of the barcode will be computed and included in the barcode when applicable.

Code25intlvOptions

Code25Intlv options.

Code49Options

Code49 options.

CodeType

The type of encoding to use when generating the barcode image.

DataMatrixOptions

DataMatrix options.

Ean128Fnc1Options

EAN128FNC1 options.

GS1CompositeOptions

GS1Composite options.

Image

Returns bitmap image of control

MicroPDF417Options

MicroPDF417 options.

MicroQRCodeOptions

MicroQRCode options.

ModuleSize

Width of the narrow bar in screen pixels. The default value is one screen pixel wide (1/96").

PDF417Options

PDF417 options.

QRCodeOptions

QRCode options.

QuietZone

A quiet zone is an area of blank space on either side of a barcode.

RssExpandedStackedOptions

RSSExpandedStacked options.

Text

Gets or sets the value that is encoded as a barcode image.

TextFixedLength

Fixed number of digits of values of barcode.

WholeSize

Size of overall barcode.

WideToNarrowRatio

Ratio between wide and narrow bars.

Methods

Name Description
Dispose(bool)

Clean up any resources being used.

OnAutoSizeChanged(EventArgs)
OnEncodingError(EncodingErrorEventArgs)

Raises the EncodingError event.

OnPaint(PaintEventArgs)

Draws barcode image

Events

Name Description
EncodingError

Occurs when text entered into the C1BarCode cannot be encoded into barcode image.