ComponentOne

BarCode for WinForms

Copyright © 1987-2015 GrapeCity, Inc. All rights reserved.

ComponentOne, a division of GrapeCity
201 South Highland Avenue, Third Floor
Pittsburgh, PA 15206 USA

Website:
Sales:
Telephone:

http://www.componentone.com
sales@componentone.com
1.800.858.2739 or 1.412.681.4343 (Pittsburgh, PA USA Office)

Trademarks
The ComponentOne product name is a trademark and ComponentOne is a registered trademark of GrapeCity, Inc.
All other trademarks used herein are the properties of their respective owners.

Warranty
ComponentOne warrants that the media on which the software is delivered is free from defects in material and
workmanship, assuming normal use, for a period of 90 days from the date of purchase. If a defect occurs during this
time, you may return the defective media to ComponentOne, along with a dated proof of purchase, and
ComponentOne will replace it at no charge. After 90 days, you can obtain a replacement for the defective media by
sending it and a check for $25 (to cover postage and handling) to ComponentOne.
Except for the express warranty of the original media on which the software is delivered is set forth here,
ComponentOne makes no other warranties, express or implied. Every attempt has been made to ensure that the
information contained in this manual is correct as of the time it was written. ComponentOne is not responsible for
any errors or omissions. ComponentOne’s liability is limited to the amount you paid for the product. ComponentOne
is not liable for any special, consequential, or other damages for any reason.

Copying and Distribution
While you are welcome to make backup copies of the software for your own use and protection, you are not
permitted to make copies for the use of anyone else. We put a lot of time and effort into creating this product, and
we appreciate your support in seeing that it is used by licensed users only.

Table of Contents
BarCode for WinForms Overview ................................................................................................. 4
Key Features.................................................................................................................................. 4
BarCode for WinForms Quick Start............................................................................................... 5
Step 1: Setting Up the Project................................................................................................... 5
Step 2: Adding Code to the Project........................................................................................... 6
Step 3: Running the Project ...................................................................................................... 8
Using BarCode for WinForms...................................................................................................... 10
BarCode Symbology ................................................................................................................ 10
BarCode Options ..................................................................................................................... 20
Customizing the C1BarCode Control .......................................................................................... 24
API Reference.............................................................................................................................. 26
C1.Win.C1BarCode.4 Assembly .............................................................................................. 27
Namespaces ........................................................................................................................ 27
C1.Win.C1BarCode Namespace ...................................................................................... 27
Overview ..................................................................................................................... 27
Classes ......................................................................................................................... 28
C1BarCode............................................................................................................... 28
Overview ............................................................................................................. 29
Members ............................................................................................................. 30
C1BarCode Constructor ...................................................................................... 41
Methods .............................................................................................................. 42
GetImage Method ........................................................................................... 44
GetImage(ImageFormat) Method............................................................... 45
GetImage(ImageFormat,Int32,Int32) Method ............................................ 46
Properties............................................................................................................ 47
BackColor Property ......................................................................................... 52
BarDirection Property ..................................................................................... 53
BarHeight Property ......................................................................................... 53
BarNarrow Property ........................................................................................ 54
BarWide Property ........................................................................................... 54
CodeType Property ......................................................................................... 55
EncodingException Property ........................................................................... 56

. 59 Text Property ................................................................ 89 SymbolSize Property ...........................................................................Font Property ................. 77 GetImage(ImageFormat) Method ........... 75 GetImage Method ..Int32........... 94 Overview ....................................................................................................................... 94 UICulture Property ................................... 56 ForeColor Property ............................................................................... 63 C1QRCode Constructor ...... 62 Members ............................................................................................ 86 EncodingException Property ................................................................................................................................................................................................................................................. 94 Strings........................................................................................................................................... 91 Overview .................................................................................................................................. 60 C1QRCode ....................................................................................................................................... 58 ShowText Property....................................................................................................................................................................................................... 60 Overview ............................................Errors.................. 96 ............................... 58 SizeMode Property ..................................................................................................... 93 Properties..................................Int32) Method ................................ 89 SizeMode Property .................................................................................................................................................................................................................................. 78 GetImage(ImageFormat........................................................... 93 ResourceManager Property ....................... 88 Image Property ............. 57 Image Property ................................ 79 Properties.................. 80 BackColor Property ........................... 87 ErrorCorrectionLevel Property ....................................................................................................................................................................................................................... 85 Encoding Property.................................................................................................................................................. 91 Strings ................................................................................................................................................................................ 90 Text Property ............................................................................................ 92 Members .............................................................................................................................................................................. 87 ForeColor Property ................... 74 Methods ................................................. 95 Members ................................................................................................................................... 85 CodeVersion Property .......................................................................................................................................................................................

............................................... 98 InvalidSymbolSize Property ..................................................................................... 98 BarWideMustBePositive Property ....................................................................................................................................................................................................... 96 BarHeightMustBePositive Property ............................................................................................. 100 Encoding.............. 99 BarDirectionEnum ..................... 98 InvalidCodeVersion Property .................................................. 104 ..................................................... 99 CodeTypeEnum ......................................................................................................... 99 Enumerations ..................................................................................... 97 BarNarrowMustBePositive Property ...................................................................................................................................................................................... 103 ErrorCorrectionLevel ...............Properties.................

BarCode for WinForms Overview The new barcode engine provides a stand-alone control. The C1BarCode control provides the functionality of QR code.Win. You can check the documentation for the old barcode here. It also offers several properties that can be set for rendering as well as customizing barcodes. to guarantee a good read on your barcodes. to eliminate reader errors. C1BarCode. depending on the symbology being used.C1Barcode assembly remains included into our toolset. so you don't need to add any additional control.  Automatically Adds Checksums The C1BarCode control automatically adds necessary control symbols and checksums to the value being encoded. and you are done! Key Features  Supports 38 BarCode Symbologies The C1BarCode control supports 38 standard barcodes for Windows Forms applications. The FNC1 characters are also supported in some barcodes. The new C1.Win. See Using BarCode for WinForms for more information. to Web pages. or to regular . You can also deploy BarCode for WinForms with your applications like any regular assembly. Because it is a royaltyfree DLL.  Integrated QRCode Format The QR code (Quick Response code) format is one of the most popular 2D barcode formats available today.Barcode assembly replaces C1BarCode and C1QRCode controls with a single C1BarCode control that uses a different codebase. BarCode for WinForms automatically adds any necessary control symbols and checksums to the value being encoded.NET PrintDocument objects. And BarCode for WinForms is so easy to use – just add the control to your form. You can use several standard barcodes for adding barcode images to grid cells. In case if you are not ready to upgrade. set the encoding type. depending on the encoding being used. with free readers available for virtually all smart phones. you do not have to worry about installing barcode fonts on the client-side and making sure they are royalty free. that implements more standard barcode types than the old version. the old C1.  Royalty-free DLL for Easy Deployment . Unlike barcode fonts.

Win assemblies get added to the References folder in the project.BarCode. add the following controls: o C1BarCode o ComboBox (to contain the list of barcodes available in C1BarCode control) o TextBox (to enter the text for observing barcodes) o Label (add three labels for displaying name of the above controls) You will notice that on adding C1BarCode control. complete the following steps: 1.Win.0. If you do not see C1BarCode control in your Toolbox. and then click OK. BarCode for WinForms Quick Start This quick start section walks through the steps of adding C1BarCode to your project and creating a simple barcode application.NET project. 2. see BarCode Symbology. do the following: 5. . From the Toolbox. The quick start demonstrates how various symbologies available in C1BarCode are rendered on changing the text and the barcode type. select C1.The C1BarCode is a royalty-free DLL that can be deployed with your applications like any regular assembly. Click Browse. Create a new . Click the ComboBox and in the Properties window. rename it as cbCodeType.4 dll.BarCode and C1. Navigate through the default installation path: C:\Program Files (x86)\ComponentOne\WinForms Edition\bin\v4. In Toolbox. C1. right-click a tab and select Choose Items option to open the Choose Toolbox Items wizard. For more information about available symbology. 6. See Also Step 1: Setting Up the Project Step 2: Adding Code to the Project Step 3: Running the Project Step 1: Setting Up the Project To set up the project and add the C1BarCode control to the form.Win.

e As EventArgs) Handles MyBase. Visual Basic Copy Code Dim types As Array = [Enum]. add the following code. 2. You have just completed the first step toward creating a simple application on BarCode for WinForms. CodeType. Text. Step 2: Adding Code to the Project To add code to your project. Add namespace Imports C1. Place the controls on the form as shown.BarCode (Visual Basic projects) or using C1. . complete the following steps: 1.Load tbText.DataSource = types cbCodeType.Set the Text property of the three Label controls as Code Type.GetValues(typeof(CodeType)). respectively.GetValues(GetType(CodeType)) Private Sub Form1_Load(sender As Object.IndexOf(types. Double-click Form1 to create Form1_Load event and switch to the code view.Text = "HELLO WORLD!" cbCodeType. To set the default text of the TextBox and to populate the ComboBox control with the code types available in C1BarCode.SelectedIndex = Array.BarCode (C# projects).Select() End Sub C# Copy Code Array types = Enum. and BarCode.Code39) cbCodeType.

EventArgs e) { c1BarCode1. double-click TextChanged to create the tbText_TextChanged event and add following code to the event. Click ComboBox on the form. double-click SelectedIndexChanged to create cbCodeType_SelectedIndexChanged event and add following code.private void Form1_Load(object sender. cbCodeType.CodeType = (CodeType)cbCodeType. Click the TextBox control on the form.Text End Sub C# Copy Code private void tbText_TextChanged(object sender. EventArgs e) { tbText.SelectedIndexChanged C1BarCode1.SelectedValue. } 3.SelectedIndex = Array. CodeType) End Sub C# Copy Code private void cbCodeType_SelectedIndexChanged(object sender. CodeType.Select().DataSource = types.Code39). EventArgs e) . e As EventArgs) Handles cbCodeType.Text = tbText.SelectedValue.IndexOf(types.Text = "HELLO WORLD!". From the events in the Property window. From the events in the Property window. cbCodeType. } 4. cbCodeType.TextChanged C1BarCode1. e As EventArgs) Handles tbText. Visual Basic Copy Code Private Sub tbText_TextChanged(sender As Object. Visual Basic Copy Code Private Sub cbCodeType_SelectedIndexChanged(sender As Object.CodeType = DirectCast(cbCodeType.

let's run the project to view code types supported by BarCode for WinForms. . Run the project and select code type from the ComboBox. you added functionality to the controls. In the next step.{ c1BarCode1.Text = tbText. you will run the project and observe runtime interactions.Text. Step 3: Running the Project Now that you set up the project and added code. Complete the following steps: 1. } In this step.

Congratulation! You have completed the quick start in which you created a simple application for viewing different barcodes supported in BarCode for WinForms. Note that some encodings have a minimum character requirement. an error message is displayed as in image below. see BarCode Symbology.2. Select different code types and notice the corresponding barcodes displayed. 3. For more information about supported barcode symbologies. Try entering different text strings of alpha numeric characters. . If a text is not supported by the barcode. while others work only with numeric values.

numbers. punctuation. / $ and numbers. * $ / + %. and spaces in a barcode. and upper case. it is important to have knowledge of the barcode symbologies and the properties or options associated with them. See Also BarCode Symbology BarCode Options BarCode Symbology The barcode symbology specifies the encoding scheme used to convert character data into the pattern of wide and narrow bars. The following table illustrates the barcode symbology provided by CodeType property in BarCode for WinForms. . Codabar Codabar uses A B C D + : . For understanding the working of barcodes. This is the default barcode style. Code Type Ansi39 Example Description ANSI 3 of 9 (Code 39) uses upper case. Ansi39x ANSI Extended 3 of 9 (Extended Code 39) uses the complete ASCII character set.Using BarCode for WinForms The new barcode engine lets you integrate various industry-standard barcodes into the Windows Forms applications. . numbers. Code_128_A Code 128 A uses control characters..

Code25intlv Interleaved 2 of 5 uses only numbers. Code39 Code 39 uses numbers. Code_128auto Code 128 Auto uses the complete ASCII character set. + -. upper case and lower case. and numbers.+. Code39x Extended Code 39 uses the complete ASCII character set. Code93 Code 93 uses uppercase. . numbers. and C to give the smallest barcode. % * $ /. B. % $ * / . Code49 Code 49 is a 2D highdensity stacked barcode containing two to eight rows of eight characters each. Automatically selects between Code 128 A. Code_2_of_5 Code 2 of 5 uses only numbers.Code_128_B Code 128 B uses punctuation. Each row has a start . Code_128_C Code 128 C uses only numbers. and upper case. .

two-dimensional barcode with square modules arranged in a square or rectangular matrix pattern. EAN_8 EAN-8 uses only numbers (7 numbers and a check digit). The check digit is added automatically when the CheckSum property is set to True. DataMatrix Data Matrix is a high density. Code93x Extended Code 93 uses the complete ASCII character set. Encodes the complete ASCII character set. EAN128FNC1 EAN-128 is an alphanumeric onedimensional representation . The check digit is an additional digit used to verify that a bar code has been scanned correctly.code and a stop code. It takes only 12 numbers as a string to calculate a check digit (CheckSum) and add it to the thirteenth position. EAN_13 EAN-13 uses only numbers (12 numbers and a check digit).

dates. . measurements. This type of bar code contains the following sections:  Leading quiet zone (blank area)  Code 128 start character  FNC (function) 1 character which allows scanners to identify this as an EAN-128 barcode  Data (AI plus data field)  Symbol check character (Start code value plus product of each character position plus value of each character divided by 103. quantity. The checksum is the remainder value.of Application Identifier (AI) data for marking containers in the shipping industry.e. ID.)  Stop character  Trailing quiet zone (blank area) The AI in the Data section sets the type of the data to follow (i.

is a 65bar code used for domestic mail in the U.). formerly known as the 4-State Customer Barcode. Multiple AIs (along with their data) can be combined into a single bar code. or “vbLf” for VB to Text property at runtime.. etc. This AI is what distinguishes the EAN-128 code from Code 128. IntelligentMail Intelligent Mail. which is not available in UCC/EAN-128. Encodes alpha and numeric characters consisting of 18 digits including a 7-digit postal . There is a specific data structure for each type of data. EAN128FNC1 is a UCC/EAN-128 (EAN128) type barcode that allows you to insert FNC1 character at any place and adjust the bar size. To insert FNC1 character. JapanesePostal This is the barcode used by the Japanese Postal system.etc. set “\n” for C#.S.

MicroPDF417 MicroPDF417 is twodimensional (2D). derived from PDF417. 250 alphanumeric characters. multirow symbology. optionally followed by block and house number information. or 366 numeric digits) with the minimal symbol size. MicroPDF417 is designed for applications that need to encode data in a twodimensional (2D) symbol (up to 150 bytes. . MSI MSI Code uses only numbers. Matrix_2_of_5 Matrix 2 of 5 is a higher density barcode consisting of 3 black bars and 2 white bars. The data to be encoded can include hyphens. or “vbLf” for VB to Text property at runtime. set “\n” for C#.code number. MicroPDF417 allows you to insert an FNC1 character as a field separator for variable length Application Identifiers (AIs). To insert FNC1 character.

This symbology can encode up to 1. and Numeric. This is the barcode used by the Royal Mail in the United Kingdom. .Pdf417 Pdf417 is a popular highdensity 2-dimensional symbology that encodes up to 1108 bytes of information. alphanumeric and byte data as well as Japanese kanji and kana characters. Encodes the full ASCII character set.710 numeric characters. QRCode QRCode is a 2D symbology that is capable of handling numeric. This symbology can encode up to 7. PostNet PostNet uses only numbers with a check digit.850 alphanumeric characters or 2. It has ten error correction levels and three data compaction modes: Text. RM4SCC Royal Mail RM4SCC uses only letters and numbers (with a check digit). Byte. This barcode consists of a stacked set of smaller barcodes.366 characters.

RSS14Stacked allows you to set Composite Options.RSS14 RSS14 is a 14-digit Reduced Space Symbology that uses EAN. RSS14StackedOmnidirectio RSS14StackedOmnidirectio nal nal uses the EAN. but stacked in two rows for a smaller width.UCC information with omnidirectional scanning as in the RSS14. where you can select the type of the barcode in the Type drop-down list and the value of the composite barcode in the Value field. RSS14Truncated RSS14Truncated uses the EAN. . but stacked in two rows for a smaller width. RSS14Stacked RSS14Stacked uses the EAN. but also includes Indicator digits of zero or one for use on small items not scanned at the point of sale.UCC item identification for point-ofsale omnidirectional scanning.UCC information with Indicator digits as in the RSS14Truncated.UCC information as in the RSS14.

RSSLimited RSS Limited uses the EAN. set “\n” for C#. RSSExpanded allows you to insert an FNC1 character as a field separator for variable length Application Identifiers (AIs).RSSExpanded RSSExpanded uses the EAN. To insert FNC1 character. RSSExpandedStacked allows you to insert an FNC1 character as a field separator for variable length Application Identifiers (AIs). but stacked in two rows for a smaller width. set “\n” for C#. or “vbLf” for VB to Text property at runtime. RSSExpandedStacked RSSExpandedStacked uses the EAN.UCC information with AI elements as in the RSSExpanded. or “vbLf” for VB to Text property at runtime. To insert FNC1 character.UCC information as in the RSS14. but also .UCC information as in the RSS14. but also adds AI elements such as weight and best-before dates.

which must bezero) UPC-A code. RSSLimited allows you to set Composite Options. the Barcode control will convert it to a six-digit UPC-E code. you may enter either a six-digit UPC-E code or a complete 11-digit (includes code type. where you can select the type of the barcode in the Type drop-down list and the value of the composite barcode in the Value field. UCCEAN128 UCC/EAN –128 uses the complete ASCII character Set. if possible. Used for zero-compression UPC symbols. If an 11-digit code is entered. For the Caption property. This is a special version of Code 128 used in HIBC applications. UPC_A UPC-A uses only numbers (11 numbers and a check digit). If it is not possible to convert from the 11-digit code to .includes Indicator digits of zero or one for use on small items not scanned at the point of sale. UPC_E0 UPC-E0 uses only numbers.

The available options are: o LeftToRight: The barcode symbol is printed left to right (default). Note that the following barcodes support FNC1 characters:     EAN128FNC1 MicroPDF417 RSSExpanded RSSExpandedStacked BarCode Options The C1BarCode provides several options that are common to all barcodes or specific to certain barcodes. o BottomToTop: The barcode symbol is printed bottom to top. o RightToLeft: The barcode symbol is printed right to left.Win. CaptionPosition: Lets you select the caption's vertical position relative to the barcode symbol. Image: Gets an image of the barcode that represents the value in the Text property. nothing is displayed. . BarHeight: Lets you specify the height of a barcode in screen pixels. UPC_E1 UPC-E1 uses only numbers. o TopToBottom: The barcode symbol is printed top to bottom.P. CaptionGrouping: Lets you specify a value indicating whether to add spaces between groups of characters in the caption to make long numbers easier to read. CodeType: Lets you select encoding that should be applied to the value stored in the Text property to generate the barcode image.BarCode assembly for rendering barcodes in WinForms are as follows:        BarDirection: Lets you select the barcode's direction. CaptionAlignment: Lets you select the display position of the value of barcode. The length of the input string for U. The common options exposed by C1. These options are used to customize the appearance of C1BarCode. Above.the six-digit code. If the bar height exceeds the height of the control. Right. The available options are Left. The available options are None. and Below. obtained using the encoding specified by the CodeType property.C. Used typically for shelf labeling in the retail environment. this property is ignored. and Center. E1 is six numeric characters.

o Right: Enter the size of blank space to leave to the right of the barcode. o Top: Enter the size of blank space to leave at the top of the barcode. ModuleSize: Lets you specify the module (narrowest bar width) of a barcode in screen pixels. A quiet zone is an area of blank space on either side of a barcode that tells the scanner where the symbology starts and stops. The width of wide bars is counted automatically depending on the barcode type. o Bottom: Enter the size of blank space to leave at the bottom of the barcode.  FixLength: Lets you specify the fixed number of digits of values of the barcode. It takes the integer value. The following image shows Left and Right quiet zones:   Text: Lets you specify the value that is encoded as a barcode image.  QuietZone: Lets you specify the quiet zone(s) in a barcode. WholeSize: Lets you specify the size of the overall barcode. . The options available are as follows: o Left: Enter the size of blank space to leave to the left of the barcode. WholeWidth represents the width and WholeHeight represents the height of the overall barcode.

o the size of Matrix barcodes is calculated by OnCalculateSize method. The options that are specific to the type of barcodes are as follows: CheckSumEnabled: Lets you specify whether the check digits are automatically added or not. Code49Options:   Grouping: Lets you use grouping in the barcode. ECC080. ModuleSize: Lets you specify the horizontal size of the barcode module. If the value of Grouping is False. LineStroke: Lets you select the color of the bearer bar. It takes the integer value. Its value is either True or False. AutoSize: Lets you specify whether the barcode should stretch to fit the control. it is calculated by BarHeight and ModuleSize. and the Group value is smaller than 0 or larger than 8. If the value of Grouping is True. It takes the value True or False.Code49GroupNo will be thrown. DataMatrixOptions:  EccMode: Lets you select the ECC mode. the BarCodeException. When AutoSize is set to False. o the barcode automatically stretches to fit the control. PostNet5/9/11. ECC140. LineStrokeThickness: Lets you select the line width of the bearer bar. BarAdjust: Lets you specify the adjustment size by dot. It takes the value True or False. It takes the integer values. o the size of the non-matrix bardodes. When AutoSize is set to True. This property is supported for Code49. or ECC200. Code128. If the value of Grouping is True. When data to be bound already includes check digits. o o o the size size of the barcode is determined by Width or Height properties. o the readable size is calculated by the barcode itself. the range of value of Group is from 0 to 8. Code25intlvOptions:    BearBar: Lets you select whether or not to display bearer bar to ITF (Interleaved Two of Five) barcode. and JapanesePostal barcodes. value of Group is 0. Ean128Fnc1Options:    Dpi: Lets you specify the resolution of the printer. .EnumErrorCode. the control gets clipped if the BarHeight is larger than control's height some empty space between the barcode and the control is left if the BarHeight is smaller than height. programmers sometimes want to prevent controls from automatically including them. Group: Obtains or sets group numbers for barcode grouping. ECC100. ECC050. It takes the integer value. The possible values are ECC000. Its value is between 0 and 8.

It takes the integer value.EnumErrorCode. Text.PDF417ErrorLevel is thrown. It takes the integer value. If this value is smaller than 0 or larger than 99999. the BarCodeException.      Ecc200SymbolSize: Lets you select the size of ECC200 symbol.PDF417Col is thrown. It takes the integer value. the BarCodeException.MicroPDF417SegmentIndex is thrown. FileIdentifier: Lets you specify the file identifier of a related group of structured append symbols. the BarCodeException. SegmentCount: Lets you specify the segment count of structured append symbol. Its value can be None or CCA. . NumericCompactionMode.EnumErrorCode. Ecc000_140SymbolSize: Lets you select the size of the ECC000_140 symbol. MicroPDF417Options:      CompactionMode: Lets you select the type of CompactionMode.EnumErrorCode.EnumErrorCode. Value: Lets you specify the CCA character data. and ByteCompactionMode. The default value is SquareAuto. the value is -1 or the range of this value is from 0 to 8. the BarCodeException.MicroPDF417FileID is thrown. If this value is smaller than 0 or larger than 899. It takes the value from 0 to 99999. Ecc200EncodingMode: Lets you select the ECC200 encoding mode. CCA (Composite Component .EnumErrorCode. Version: Lets you select the symbol size.Version A) is the smallest variant of the 2-dimensional composite component.EnumErrorCode. Row: Lets you specify the row numbers for the barcode. If this value is not equal to -1 or smaller than 3 or larger than 90. PDF417Options:    Column: Lets you specify the column numbers for the barcode. the BarCodeException. The range of this value is from 0 to 15.MicroPDF417SegmentCount is thrown.PDF417Row is thrown. C40. If this value is smaller than 0 or larger than 99998. The valid file indentifier value should be within [1. The possible values are Auto. The possible values are Auto. ErrorLevel: Lets you specify the error correction level for the barcode. If this value is not equal to -1 or smaller than 1 or larger than 30. the default value is -1 and the range of this value is 1 to 30. or Base256. SegmentIndex: Lets you specify the segment index of structured append symbol. the BarCodeException. StructuredAppend: Lets you select whether the current barcode symbol is part of structured append symbols. StructureNumber: Lets you specify the structure number of current symbol within the structured append symbols. X12. the default value is -1 and the range of this value is from 3 to 90. ASCII. GS1CompositeOptions:   Type: Lets you select the composite symbol type. FileID: Lets you specify the file id of structured append symbol. It takes the value from 0 to 899.254]. The default value is ColumnPriorAuto. If this value is not equal to -1 or is smaller than 0 or larger than 8. TextCompactionMode. It takes the value from 0 to 99998 and less than the value of segment count. Setting file identifier to 0 lets the file identifier to be calculated automatically. EDIFACT.

QRCodeOptions:        Model: Lets you select the model of QRCode. Mask010.RSSExpandedStackedCount is thrown. It takes the value True of False. The following image shows masking in QRCode: Connection: Lets you select whether connection is used for the barcode. the BarCodeException. The value is -1 or the range is from 1 to 40 when the Model property is set to Model2. The available types are Normal and Simple. Mask011. and Mask111. The available models are Model1 and Model2. Mask: Lets you select the pattern used for masking barcode. Customizing the C1BarCode Control The Property window provides many design time options to customize the overall appearance of the C1BarCode control. RssExpandedStackedOptions:  RowCount: Lets you specify the number of stacked rows. Add following code to the Form_Load event. Version: Lets you specify the version of the barcode. Type: Lets you select the type of PDF417 barcode. the range is from 1 to 11. Quality. The value is -1 or the range is from 1 to 14 when the Model property is set to Model1. mask process is required to balance brightness. Mask001. See the following steps to customize the C1BarCode control during run time. The available options are Low.EnumErrorCode. ConnectionNumber: Lets you specify the connection number for the barcode. The options available are Auto.QRCodeConnectionNo exception will be thrown. This code uses the sample created in the BarCode for WinForms Quick Start section. ErrorLevel: Lets you select the error correction level for the barcode. EnumErrorCode. 2. In order to make sure QRCode being successfully read. Mask000. You can also perform run time customization on C1BarCode control using the PropertyGrid control. and High. It takes the integer value. . 1.  And Level 0 is low strength and the default value is -1. Mask101. Mask100. Add PropertyGrid control to the form. Mask110. If this value is smaller than 1 or larger than 11. It takes the integer value. If this value is smaller than 0 or larger than 15. It takes the integer value ranging from 0 to 15. These options depend on the type of barcode used in an application. Medium. Encoding: Lets you select the encoding for the barcode.

Run the project. 3. .SelectedObject = c1BarCode1.SelectedObject = C1BarCode1 C# Copy Code propertyGrid1. The following images shows the CodeType set to the QRCode and the Text set to a URL. 4.Visual Basic Copy Code PropertyGrid1. The above code sets the PropertyGrid to display the options available in the C1BarCode.

API Reference The following topics contain the API reference for BarCode for WinForms. .

4 Assembly : C1.Win.Win.Errors Enumerations Enumeration Description BarDirectionEnum Specifies the direction of the barcode CodeTypeEnum Specifies the type of barcode to be generated by the C1BarCode control.Win. C1QRCode Creates QR barcode representations of alphanumeric values.C1BarCode. Strings.C1BarCode Namespace Overview Inheritance Hierarchy C1. See Also .Win.C1BarCode Namespace Classes Class Description C1BarCode Creates barcode representations of alphanumeric values.C1. Strings Static class containing UI strings used by the designer. ErrorCorrectionLevel Specifies the error-correction level (higher levels consume more space).C1BarCode. Encoding Specifies the type of encoding to use (more flexible encodings consume more space).4 Assembly Namespaces C1.

Forms.C1BarCode.Windows.Win.Code39.Win. use the Image property to retrieve a resolution-independent image of the barcode.Control C# public class C1BarCode : System. c1barcode1.4 Assembly > C1. Object Model Syntax Visual Basic (Declaration) Public Class C1BarCode Inherits System. The control will show the barcode image.C1BarCode Namespace : C1BarCode Class Creates barcode representations of alphanumeric values. pictureBox1.Reference C1.Image = c1barcode1.Windows. then set the Text property to the value you want to encode.Win. set the CodeType property to the type of encoding you want to use.Image.  C# c1barcode1.Forms.4 Assembly Classes C1BarCode Members Example C1. Example This sample shows how to use the Text property to encode the value "123456" as a Code39encoded barcode. If you want to include the barcode in a document.CodeType = CodeTypeEnum.Control Remarks To use the C1BarCode control.Text = "123456".C1BarCode. Inheritance Hierarchy .

Win.Forms. then set the Text property to the value you want to encode.MarshalByRefObject System.Windows.Win.ComponentModel.C1BarCode Namespace Overview Members Example C1.Component System.Forms.C1BarCode Namespace : C1BarCode Class Creates barcode representations of alphanumeric values.Win.Windows. The control will show the barcode image.4 Assembly > C1.C1BarCode.Object System. Example This sample shows how to use the Text property to encode the value "123456" as a Code39encoded barcode. .C1BarCode.Control Remarks To use the C1BarCode control.Windows.Control C# public class C1BarCode : System. use the Image property to retrieve a resolution-independent image of the barcode.System. If you want to include the barcode in a document.Control C1.Win.Forms.C1BarCode See Also Reference C1BarCode Members C1. Object Model Syntax Visual Basic (Declaration) Public Class C1BarCode Inherits System. set the CodeType property to the type of encoding you want to use.

MarshalByRefObject System. c1barcode1.Windows.Forms.Object System. Inheritance Hierarchy System.C1BarCode.C1BarCode Namespace Members Properties Methods Events C1. Top Public Properties Name Description AccessibilityObject (Inherited from System.Control) AccessibleDescription (Inherited from System.C1BarCode See Also Reference C1BarCode Members C1. pictureBox1.ComponentModel.Control) .Win.Win.Win.Text = "123456". C# c1barcode1.Code39.Forms.Win.C1BarCode.Image.Windows.Image = c1barcode1.Windows.C1BarCode Namespace : C1BarCode Class The following tables list the members exposed by C1BarCode.Windows.Control) AccessibleDefaultActionDescription (Inherited from System.CodeType = CodeTypeEnum.Forms.Component System.Control C1.4 Assembly > C1.Forms. Public Constructors Name Description C1BarCode Constructor Creates a new instance of the C1BarCode control.

Control) AutoScrollOffset (Inherited from System.Windows.Windows.Forms.Control) CanFocus (Inherited from System. BarNarrow Gets or sets the width of the narrow bars in screen pixels.Forms.Windows.Windows.Control) . BarWide Gets or sets the width of the wide bars in screen pixels. Gets or sets the background color for the control.Windows.Control) Anchor (Inherited from System.Windows.Control) BackgroundImageLayout (Inherited from System.Forms.AccessibleName (Inherited from System.Forms.Control) Bottom (Inherited from System.Forms.Windows.Forms.Control) AllowDrop (Inherited from System.Forms.Forms. BindingContext (Inherited from System.Forms.Forms.Windows.Windows.Windows.Forms.Control) CanSelect (Inherited from System.Windows.Forms.Control) Capture (Inherited from System.Control) Bounds (Inherited from System.Windows.Control) AccessibleRole (Inherited from System.Forms.Windows.Control) BackColor Overridden. BarHeight Gets or sets the height of the bars in screen pixels.Control) BarDirection Gets or sets the direction of the barcode. BackgroundImage (Inherited from System.

Forms.Control) Created (Inherited from System.Component) ContainsFocus (Inherited from System.Control) DataBindings (Inherited from System.Control) Enabled (Inherited from System.Forms.Windows.Forms. .Windows.Control) CodeType Gets or sets the type of encoding to use when generating the barcode image.Windows.Control) EncodingException Gets the System.Windows.Windows.Windows.Forms.Forms.Windows.Windows.Control) DisplayRectangle (Inherited from System.Windows.Control) Controls (Inherited from System.Forms.Forms.Forms.Control) Container (Inherited from System.Windows.Exception that prevented the Text from being encoded.Forms.Control) ContextMenu (Inherited from System.Control) Cursor (Inherited from System.Windows.Windows. CompanyName (Inherited from System.Control) Disposing (Inherited from System.Windows.Forms.Windows.Control) ContextMenuStrip (Inherited from System.Forms.Windows.CausesValidation (Inherited from System.Control) Dock (Inherited from System.Control) ClientSize (Inherited from System.Forms.Control) ClientRectangle (Inherited from System.ComponentModel.Forms.Forms.Forms.

Windows. obtained using the encoding specified by the CodeType property.Windows.Control) IsHandleCreated (Inherited from System.Control) InvokeRequired (Inherited from System.Windows.Forms.Windows.Control) Height (Inherited from System.Forms.Windows.Control) Location (Inherited from System.Forms.Forms.Control) Font Overridden.Forms. Gets or sets the foreground color for the control.Control) IsDisposed (Inherited from System.Forms. Handle (Inherited from System.Windows.Windows.Forms.Control) IsMirrored (Inherited from System.Windows.Windows.Control) Image Gets an image of the barcode that represents the value in the Text property.Windows. ForeColor Overridden.Forms.Control) LayoutEngine (Inherited from System.Forms.Control) Margin (Inherited from System.Windows.Windows.Windows. ImeMode (Inherited from System.Focused (Inherited from System.Control) HasChildren (Inherited from System.Forms.Forms.Forms. Gets or sets the Font used to display the value of the Text property.Forms.Control) .Control) IsAccessible (Inherited from System.Control) Left (Inherited from System.Windows.Forms.

Control) Name (Inherited from System.Control) PreferredSize (Inherited from System.Forms.Forms.Windows. TabIndex (Inherited from System.Forms.Forms.Forms.Windows.Windows.Forms.Control) TabStop (Inherited from System.Control) RightToLeft (Inherited from System.MaximumSize (Inherited from System.Control) RecreatingHandle (Inherited from System. Site (Inherited from System.Forms.Forms.Windows.Windows.Windows.Windows.Windows.Control) ShowText Gets or sets whether the value of the Text property should be displayed along with the barcode image.Forms.Windows.Forms.Windows.Control) Size (Inherited from System.Forms.Windows.Control) Parent (Inherited from System.Control) Region (Inherited from System.Control) ProductVersion (Inherited from System.Control) MinimumSize (Inherited from System.Forms.Forms.Control) .Windows.Control) Right (Inherited from System.Windows.Forms.Control) Padding (Inherited from System.Windows.Windows.Control) SizeMode Gets or sets how the barcode image is displayed within the control.Windows.Control) ProductName (Inherited from System.Forms.Forms.

Forms.Control) .Control) BringToFront (Inherited from System.Forms.Forms.Forms.Forms.Windows. (Inherited from System.Windows.Windows. Top (Inherited from System.Windows. Gets or sets the value that is encoded as a barcode image.ComponentModel.Windows.Forms.Windows.Control) CreateObjRef (Inherited from System.Windows.Control) TopLevelControl (Inherited from System.Control) Width (Inherited from System.Forms.Forms.Control) CreateGraphics (Inherited from System.Forms.Tag (Inherited from System.Control) Top Public Methods Name Description BeginInvoke Overloaded.Windows.Control) CreateControl (Inherited from System.Control) Contains (Inherited from System.Control) UseWaitCursor (Inherited from System.Windows.Windows.Component) DoDragDrop (Inherited from System.Windows.Forms.Forms.Forms.Control) Text Overridden.Control) Visible (Inherited from System.Forms.MarshalByRefObject) Dispose (Inherited from System.Control) DrawToBitmap (Inherited from System.Windows.Windows.

Forms.Forms. obtained using the encoding specified by the CodeType property.Windows.Control) PreProcessMessage (Inherited from System. (Inherited from System.Control) Invoke Overloaded.Forms.Control) GetChildAtPoint Overloaded.Control) GetContainerControl (Inherited from System.Windows.Control) PointToScreen (Inherited from System.Forms.EndInvoke (Inherited from System.Control) GetPreferredSize (Inherited from System.Windows.Windows.Control) PerformLayout Overloaded.Control) InitializeLifetimeService (Inherited from System.Windows. GetLifetimeService (Inherited from System.Forms.Forms. (Inherited from System.Control) PreProcessControlMessage (Inherited from System.Control) FindForm (Inherited from System.Forms.Windows.Control) PointToClient (Inherited from System.Control) GetImage Overloaded.Forms.Windows.Control) Hide (Inherited from System.Windows.Windows.Forms.Windows.Windows.Forms.Forms.MarshalByRefObject) Invalidate Overloaded.Forms.Forms.Control) .Forms.Control) Focus (Inherited from System.Forms. Gets an image of the barcode that represents the value in the Text property.MarshalByRefObject) GetNextControl (Inherited from System.Windows. (Inherited from System. (Inherited from System.Windows.Windows.Windows.

Forms.Windows.Control) ToString (Inherited from System.Control) SuspendLayout (Inherited from System.Control) ResetText (Inherited from System.Forms.Windows.RectangleToClient (Inherited from System. (Inherited from System.Windows.Windows.Windows.Control) Top Public Events Name Description BackColorChanged (Inherited from System.Forms.Windows.Forms.Control) SendToBack (Inherited from System.Control) SetBounds Overloaded.Control) SelectNextControl (Inherited from System.Windows.Forms.Forms.Component) Update (Inherited from System.Control) ResumeLayout Overloaded.Control) .Control) Show (Inherited from System.Control) BackgroundImageChanged (Inherited from System.Windows.Forms.Windows.Forms.Windows.Windows.Control) Refresh (Inherited from System.Control) BackgroundImageLayoutChanged (Inherited from System.Forms.Forms.Forms.Forms.Windows.Windows.Control) Select (Inherited from System.Windows.Control) Scale (Inherited from System.Forms.Windows.Forms.Windows.Forms.ComponentModel.Forms. (Inherited from System.Control) RectangleToScreen (Inherited from System.

Windows.Forms.Forms.Windows.Windows.Control) DragOver (Inherited from System.Control) ContextMenuChanged (Inherited from System.Control) Enter (Inherited from System.Windows.Forms.Windows.Forms.Forms.Forms.Control) ControlAdded (Inherited from System.Control) DragLeave (Inherited from System.Control) ContextMenuStripChanged (Inherited from System.Windows.Control) ChangeUICues (Inherited from System.Windows.Forms.Component) DockChanged (Inherited from System.Control) Disposed (Inherited from System.Windows.Forms.Control) DoubleClick (Inherited from System.Forms.Forms.Control) DragDrop (Inherited from System.ComponentModel.Forms.Control) CursorChanged (Inherited from System.Forms.Forms.Windows.Control) Click (Inherited from System.Forms.Control) EnabledChanged (Inherited from System.Forms.Windows.Windows.BindingContextChanged (Inherited from System.Forms.Forms.Forms.Windows.Control) DragEnter (Inherited from System.Control) .Windows.Control) ControlRemoved (Inherited from System.Windows.Windows.Control) ClientSizeChanged (Inherited from System.Windows.Windows.Control) CausesValidationChanged (Inherited from System.Windows.

Control) Layout (Inherited from System.Windows.Control) ImeModeChanged (Inherited from System.Windows.Windows.Forms.Control) MouseCaptureChanged (Inherited from System.Forms.Control) GiveFeedback (Inherited from System.Forms.Forms.Forms.Windows.Forms.Windows.Forms.Control) Invalidated (Inherited from System.Forms.Windows.Forms.Windows.Windows.Control) KeyPress (Inherited from System.Forms.Control) LostFocus (Inherited from System.Control) KeyDown (Inherited from System.Control) HandleDestroyed (Inherited from System.Windows.Windows.Windows.Windows.Control) GotFocus (Inherited from System.Control) Leave (Inherited from System.Forms.Windows.Control) HelpRequested (Inherited from System.Forms.Control) LocationChanged (Inherited from System.FontChanged (Inherited from System.Windows.Windows.Windows.Forms.Control) HandleCreated (Inherited from System.Control) .Windows.Forms.Windows.Control) MouseClick (Inherited from System.Control) KeyUp (Inherited from System.Forms.Forms.Control) ForeColorChanged (Inherited from System.Control) MarginChanged (Inherited from System.Forms.Forms.Forms.Windows.

Control) MouseMove (Inherited from System.Control) MouseLeave (Inherited from System.Forms.Windows.Windows.Control) RightToLeftChanged (Inherited from System.Control) PaddingChanged (Inherited from System.Control) Resize (Inherited from System.Forms.Forms.Forms.Windows.Control) MouseUp (Inherited from System.Windows.Forms.Windows.Windows.Windows.Control) .Control) SizeChanged (Inherited from System.Forms.Windows.Control) MouseEnter (Inherited from System.MouseDoubleClick (Inherited from System.Forms.Forms.Control) PreviewKeyDown (Inherited from System.Windows.Windows.Control) ParentChanged (Inherited from System.Windows.Forms.Windows.Forms.Windows.Forms.Forms.Control) RegionChanged (Inherited from System.Windows.Forms.Control) MouseDown (Inherited from System.Control) QueryAccessibilityHelp (Inherited from System.Windows.Windows.Forms.Control) MouseHover (Inherited from System.Forms.Windows.Control) Paint (Inherited from System.Forms.Forms.Forms.Forms.Windows.Control) MouseWheel (Inherited from System.Control) Move (Inherited from System.Control) QueryContinueDrag (Inherited from System.Windows.

StyleChanged

(Inherited from System.Windows.Forms.Control)

SystemColorsChanged

(Inherited from System.Windows.Forms.Control)

TabIndexChanged

(Inherited from System.Windows.Forms.Control)

TabStopChanged

(Inherited from System.Windows.Forms.Control)

TextChanged

(Inherited from System.Windows.Forms.Control)

Validated

(Inherited from System.Windows.Forms.Control)

Validating

(Inherited from System.Windows.Forms.Control)

VisibleChanged

(Inherited from System.Windows.Forms.Control)

Top

See Also
Reference
C1BarCode Class
C1.Win.C1BarCode Namespace

C1BarCode Constructor
C1.Win.C1BarCode.4 Assembly > C1.Win.C1BarCode Namespace > C1BarCode Class : C1BarCode
Constructor

Creates a new instance of the C1BarCode control.

Syntax
Visual Basic (Declaration)
Public Function New()
C#
public C1BarCode()

See Also
Reference

C1BarCode Class
C1BarCode Members

Methods
C1.Win.C1BarCode.4 Assembly > C1.Win.C1BarCode Namespace : C1BarCode Class

For a list of all members of this type, see C1BarCode members.

Public Methods
Name

Description

BeginInvoke

Overloaded. (Inherited from System.Windows.Forms.Control)

BringToFront

(Inherited from System.Windows.Forms.Control)

Contains

(Inherited from System.Windows.Forms.Control)

CreateControl

(Inherited from System.Windows.Forms.Control)

CreateGraphics

(Inherited from System.Windows.Forms.Control)

CreateObjRef

(Inherited from System.MarshalByRefObject)

Dispose

(Inherited from System.ComponentModel.Component)

DoDragDrop

(Inherited from System.Windows.Forms.Control)

DrawToBitmap

(Inherited from System.Windows.Forms.Control)

EndInvoke

(Inherited from System.Windows.Forms.Control)

FindForm

(Inherited from System.Windows.Forms.Control)

Focus

(Inherited from System.Windows.Forms.Control)

GetChildAtPoint

Overloaded. (Inherited from System.Windows.Forms.Control)

GetContainerControl

(Inherited from System.Windows.Forms.Control)

GetImage

Overloaded. Gets an image of the barcode that represents the
value in the Text property, obtained using the encoding
specified by the CodeType property.

GetLifetimeService

(Inherited from System.MarshalByRefObject)

GetNextControl

(Inherited from System.Windows.Forms.Control)

GetPreferredSize

(Inherited from System.Windows.Forms.Control)

Hide

(Inherited from System.Windows.Forms.Control)

InitializeLifetimeService

(Inherited from System.MarshalByRefObject)

Invalidate

Overloaded. (Inherited from System.Windows.Forms.Control)

Invoke

Overloaded. (Inherited from System.Windows.Forms.Control)

PerformLayout

Overloaded. (Inherited from System.Windows.Forms.Control)

PointToClient

(Inherited from System.Windows.Forms.Control)

PointToScreen

(Inherited from System.Windows.Forms.Control)

PreProcessControlMessage (Inherited from System.Windows.Forms.Control)
PreProcessMessage

(Inherited from System.Windows.Forms.Control)

RectangleToClient

(Inherited from System.Windows.Forms.Control)

RectangleToScreen

(Inherited from System.Windows.Forms.Control)

Refresh

(Inherited from System.Windows.Forms.Control)

ResetText

(Inherited from System.Windows.Forms.Control)

ResumeLayout

Overloaded. (Inherited from System.Windows.Forms.Control)

Control) SelectNextControl (Inherited from System.Windows.Component) Update (Inherited from System. obtained using the encoding specified by the CodeType property.Windows. (Inherited from System.Control) Select (Inherited from System.Control) SendToBack (Inherited from System.Control) Top See Also Reference C1BarCode Class C1.Control) Show (Inherited from System.Control) SuspendLayout (Inherited from System.Win.C1BarCode Namespace GetImage Method C1. obtained using the encoding specified by the CodeType property.Win.Forms.Scale (Inherited from System.Forms.Windows.Control) ToString (Inherited from System.Control) SetBounds Overloaded.4 Assembly > C1.Windows. Overload List Overload Description GetImage(ImageFormat) Gets an image of the barcode that represents the value in the Text property.ComponentModel.Forms.Forms.Windows.Windows.Win. .C1BarCode.Forms.Forms.Windows.C1BarCode Namespace > C1BarCode Class : GetImage Method Gets an image of the barcode that represents the value in the Text property.Forms.Forms.Windows.

Drawing.ImageFormat _ ) As System.GetImage(ImageFormat.ImageFormat format ) Parameters format An System.Win. See Also Reference C1BarCode Class C1BarCode Members GetImage(ImageFormat) Method C1.Int32) Gets an image of the barcode that represents the value in the Text property. Syntax Visual Basic (Declaration) Public Overloads Function GetImage( _ ByVal format As System. Gets an image of the barcode that represents the value in the Text property.Image GetImage( System. obtained using the encoding specified by the CodeType property.Win.Imaging.Imaging.Drawing. Remarks .Imaging.Drawing.4 Assembly > C1.ImageFormat value that specifies the type of image to be created.Int32.C1BarCode Namespace > C1BarCode Class > GetImage Method : GetImage(ImageFormat) Method An System. obtained using the encoding specified by the CodeType property.Drawing.Drawing.Image C# public System.Imaging.ImageFormat value that specifies the type of image to be created.C1BarCode. Return Value An image of the barcode with the specified format.Drawing.

The Image property can also be used to obtain an image of the barcode.Drawing.Drawing.Drawing.Win.Imaging.Integer. in pixels.Imaging.ImageFormat format.Integer _ ) As System.4 Assembly > C1.Image GetImage( System. This method returns solid-background bitmaps. The height of the image.Drawing.int height ) Parameters format . it always returns a System. _ ByVal height As System. See Also Reference C1BarCode Class C1BarCode Members Overload List GetImage(ImageFormat. Syntax Visual Basic (Declaration) Public Overloads Function GetImage( _ ByVal format As System. System.Int32.Int32.Int32) Method C1.ImageFormat.Drawing. However. _ ByVal width As System.Metafile image of a pre-set size and with a transparent background.Int32) Method An System. Gets an image of the barcode that represents the value in the Text property.ImageFormat value that specifies the type of image to be created.Drawing. obtained using the encoding specified by the CodeType property.Win.int width.Image C# public System.Imaging.C1BarCode.C1BarCode Namespace > C1BarCode Class > GetImage Method : GetImage(ImageFormat. in pixels.Imaging. System. The width of the image.

Windows.Drawing.Metafile image of a pre-set size and with a transparent background.C1BarCode Namespace : C1BarCode Class For a list of all members of this type. Remarks The Image property can also be used to obtain an image of the barcode. See Also Reference C1BarCode Class C1BarCode Members Overload List Properties C1.Forms.Control) AccessibleDefaultActionDescription (Inherited from System. Public Properties Name Description AccessibilityObject (Inherited from System.Forms. in pixels.Forms.Control) AccessibleName (Inherited from System. it always returns a System. This method returns solidbackground bitmaps.4 Assembly > C1. However. Return Value An image of the barcode with the specified format and dimensions.ImageFormat value that specifies the type of image to be created.Imaging.Windows.Drawing. width The width of the image.C1BarCode.Imaging.Forms.Control) AccessibleDescription (Inherited from System. height The height of the image.Windows.Control) .Windows. see C1BarCode members. in pixels.Win.Win.An System.

BindingContext (Inherited from System. BarWide Gets or sets the width of the wide bars in screen pixels.Windows.Control) Bounds (Inherited from System.Windows.AccessibleRole (Inherited from System.Forms.Windows.Control) Bottom (Inherited from System.Control) Anchor (Inherited from System.Forms.Forms.Control) .Control) AllowDrop (Inherited from System.Control) BackgroundImageLayout (Inherited from System.Forms.Forms.Forms.Windows.Windows. BarNarrow Gets or sets the width of the narrow bars in screen pixels.Windows.Forms.Control) CanSelect (Inherited from System.Control) BarDirection Gets or sets the direction of the barcode.Windows.Control) CanFocus (Inherited from System.Windows.Windows.Control) Capture (Inherited from System.Forms.Control) AutoScrollOffset (Inherited from System.Forms.Windows.Windows. BackgroundImage (Inherited from System. Gets or sets the background color for the control.Forms.Windows.Forms.Control) CausesValidation (Inherited from System.Windows.Control) BackColor Overridden.Forms.Forms. BarHeight Gets or sets the height of the bars in screen pixels.

Windows.Control) Enabled (Inherited from System.Windows.Windows.Windows.Control) DisplayRectangle (Inherited from System.Control) CodeType Gets or sets the type of encoding to use when generating the barcode image.Forms.Control) ClientSize (Inherited from System.Control) Disposing (Inherited from System.Forms.Forms.Exception that prevented the Text from being encoded.Forms.Windows.Forms.Windows.ClientRectangle (Inherited from System.Control) DataBindings (Inherited from System.Control) Dock (Inherited from System.Windows.Forms.ComponentModel.Windows.Windows.Forms.Windows.Control) EncodingException Gets the System.Component) ContainsFocus (Inherited from System.Forms.Control) Controls (Inherited from System.Windows.Control) ContextMenu (Inherited from System.Control) ContextMenuStrip (Inherited from System.Forms.Windows.Forms.Forms. Focused (Inherited from System.Forms.Control) Container (Inherited from System.Control) .Windows.Windows.Forms. CompanyName (Inherited from System.Forms.Control) Created (Inherited from System.Windows.Control) Cursor (Inherited from System.Forms.

Windows.Forms.Control) IsAccessible (Inherited from System. Gets or sets the foreground color for the control.Forms.Control) MaximumSize (Inherited from System.Windows.Forms.Windows.Windows.Forms.Control) . ForeColor Overridden.Control) InvokeRequired (Inherited from System.Forms.Control) IsMirrored (Inherited from System.Control) IsDisposed (Inherited from System.Control) Image Gets an image of the barcode that represents the value in the Text property. ImeMode (Inherited from System. obtained using the encoding specified by the CodeType property.Font Overridden.Windows.Windows.Forms.Control) Height (Inherited from System.Control) Left (Inherited from System.Forms.Forms. Handle (Inherited from System.Windows.Control) Location (Inherited from System.Forms.Windows.Windows.Windows. Gets or sets the Font used to display the value of the Text property.Forms.Forms.Forms.Control) LayoutEngine (Inherited from System.Control) IsHandleCreated (Inherited from System.Windows.Forms.Windows.Control) HasChildren (Inherited from System.Control) Margin (Inherited from System.Windows.Windows.Forms.

Control) Region (Inherited from System.Forms.Windows.Forms.Forms.Forms.Control) Tag (Inherited from System.Forms.Forms.Forms.Forms.Control) Parent (Inherited from System.Control) ShowText Gets or sets whether the value of the Text property should be displayed along with the barcode image. TabIndex (Inherited from System. Site (Inherited from System.Windows.Control) Padding (Inherited from System.Control) .Control) SizeMode Gets or sets how the barcode image is displayed within the control.Windows.Forms.Windows.Control) TabStop (Inherited from System.Control) Size (Inherited from System.Windows.Windows.Windows.Windows.Windows.Control) RecreatingHandle (Inherited from System.Control) RightToLeft (Inherited from System.Windows.Forms.Forms.Forms.MinimumSize (Inherited from System.Control) Right (Inherited from System.Control) Name (Inherited from System.Windows.Windows.Forms.Control) ProductVersion (Inherited from System.Windows.Control) ProductName (Inherited from System.Forms.Windows.Control) PreferredSize (Inherited from System.Windows.Windows.Forms.Forms.

Forms. Syntax Visual Basic (Declaration) Public Overrides Property BackColor As System.Forms.} Remarks The background color only applies to the control.Forms.Forms.Windows.C1BarCode Namespace BackColor Property C1.C1BarCode.Windows.Control) Width (Inherited from System.Drawing.Windows.Text Overridden.Forms. Gets or sets the value that is encoded as a barcode image.Color C# public override System.Win.Windows.Control) UseWaitCursor (Inherited from System.Control) Top See Also Reference C1BarCode Class C1.4 Assembly > C1.Control) Visible (Inherited from System.Win. set.C1BarCode Namespace > C1BarCode Class : BackColor Property Gets or sets the background color for the control.Control) TopLevelControl (Inherited from System. See Also Reference .Color BackColor {get. Top (Inherited from System.Windows.Win. The barcode image that is available through the Image property always has a transparent background.Drawing.

C1BarCode.Win. Syntax Visual Basic (Declaration) Public Property BarHeight As System.4 Assembly > C1. set.Win.Win.} See Also Reference C1BarCode Class C1BarCode Members BarHeight Property C1.C1BarCode Class C1BarCode Members BarDirection Property C1.} See Also Reference C1BarCode Class C1BarCode Members .Win.C1BarCode Namespace > C1BarCode Class : BarDirection Property Gets or sets the direction of the barcode. Syntax Visual Basic (Declaration) Public Property BarDirection As BarDirectionEnum C# public BarDirectionEnum BarDirection {get.Integer C# public System.C1BarCode Namespace > C1BarCode Class : BarHeight Property Gets or sets the height of the bars in screen pixels.C1BarCode.int BarHeight {get.4 Assembly > C1. set.

See Also Reference C1BarCode Class C1BarCode Members BarWide Property C1.4 Assembly > C1.Win. You should never have to change these values.} Remarks By default.Win. Syntax Visual Basic (Declaration) Public Property BarWide As System.C1BarCode Namespace > C1BarCode Class : BarWide Property Gets or sets the width of the wide bars in screen pixels.Integer C# public System.int BarWide {get.Integer C# public System.C1BarCode. You should never have to change these values. they are exposed only in case you need to make adjustments for special barcode reader hardware.C1BarCode. narrow bars are one screen pixel wide (1/96") and wide bars are two pixels wide (1/96"). Syntax Visual Basic (Declaration) Public Property BarNarrow As System. set.} Remarks By default. they are exposed only in case you need to make adjustments for special barcode reader hardware.C1BarCode Namespace > C1BarCode Class : BarNarrow Property Gets or sets the width of the narrow bars in screen pixels.4 Assembly > C1. narrow bars are one screen pixel wide (1/96") and wide bars are two pixels wide (1/96").int BarNarrow {get.Win.BarNarrow Property C1.Win. set. .

Syntax Visual Basic (Declaration) Public Property CodeType As CodeTypeEnum C# public CodeTypeEnum CodeType {get.Text = "123456". The barcode image is also available through the Image property.Image.C1BarCode.  C# c1barcode1.Win.See Also Reference C1BarCode Class C1BarCode Members CodeType Property Example C1.} Remarks The selected encoding is applied to the value stored in the Text property to generate the barcode image displayed in the control.Code39.CodeType = CodeTypeEnum.4 Assembly > C1. set. pictureBox1.C1BarCode Namespace > C1BarCode Class : CodeType Property Gets or sets the type of encoding to use when generating the barcode image. Example This sample shows how to use the CodeType property to encode the value "123456" as a Code39-encoded barcode.Image = c1barcode1. c1barcode1. See Also Reference C1BarCode Class C1BarCode Members .Win.

EncodingException.EncodingException == null ? string.Text = textBox1.Win.C1BarCode Namespace > C1BarCode Class : EncodingException Property Gets the System.Empty : c1BarCode1. If the value of the Text property cannot be represented using the current CodeType. then no bar code will be generated and the control will remain blank.Text = c1BarCode1.Text. For example.Exception EncodingException {get.Exception C# public System. some are numeric-only and some require text of a specific length.Exception that prevented the Text from being encoded. In this case.4 Assembly > C1. Example The code below sets the Text property and shows a message in case any errors were detected:  C# c1BarCode1. Syntax Visual Basic (Declaration) Public ReadOnly Property EncodingException As System.Win.Win.4 Assembly > C1.} Remarks Most encodings have limitations that determine what type of text it can represent.C1BarCode Namespace > C1BarCode Class : Font Property .Message. the EncodingException property returns details about the exception that prevented the bar code from being generated.C1BarCode. label1.C1BarCode.Win.EncodingException Property Example C1. See Also Reference C1BarCode Class C1BarCode Members Font Property C1.

Color ForeColor {get.} Remarks If the ShowText property is set to true.Font C# public override System. then the value of the Text property is displayed centered along the bottom of the barcode image using the given font. Syntax Visual Basic (Declaration) Public Overrides Property ForeColor As System. set.Drawing. Syntax Visual Basic (Declaration) Public Overrides Property Font As System.C1BarCode.} Remarks The foreground color applies to the control and also to the barcode image that is available through the Image property.Drawing.Drawing. See Also Reference C1BarCode Class C1BarCode Members ForeColor Property C1. See Also Reference .C1BarCode Namespace > C1BarCode Class : ForeColor Property Gets or sets the foreground color for the control.4 Assembly > C1.Font Font {get. set.Drawing.Gets or sets the Font used to display the value of the Text property.Win.Color C# public override System.Win.

the image returned is blank.Win.4 Assembly > C1.Image C# public System.C1BarCode Namespace > C1BarCode Class : ShowText Property Gets or sets whether the value of the Text property should be displayed along with the barcode image. Although the barcode image returned by the control is scalable.C1BarCode. To obtain a System. the default size is optimal for common barcode readers. Syntax Visual Basic (Declaration) Public ReadOnly Property Image As System.} Remarks The Image property returns a System.Drawing. use the GetImage(ImageFormat) method instead.4 Assembly > C1.Win. Keep in mind that if you stretch the image and make it very large or very small.Imaging.Bitmap image of the barcode.Win.Drawing.Metafile that can be inserted in reports and other documents.C1BarCode.Win.C1BarCode Namespace > C1BarCode Class : Image Property Gets an image of the barcode that represents the value in the Text property. Syntax .Image Image {get. obtained using the encoding specified by the CodeType property. If the value stored in the Text property is invalid for the current encoding.Drawing. it may become unreadable to some readers.Drawing. See Also Reference C1BarCode Class C1BarCode Members ShowText Property C1.C1BarCode Class C1BarCode Members Image Property C1. The metafile image has a transparent background and therefore cannot be easily converted to a solid-background bitmap.

Windows.C1BarCode Namespace > C1BarCode Class : SizeMode Property Gets or sets how the barcode image is displayed within the control. set.Windows.4 Assembly > C1.Forms.bool ShowText {get.Win. See Also Reference C1BarCode Class C1BarCode Members SizeMode Property C1. you will either center or left-align the barcode image within the control.C1BarCode. See Also Reference .} Remarks This property only affects how the barcode is displayed within the control. In most applications. set.PictureBoxSizeMode C# public System.Boolean C# public System. To include a textual representation of the value in the Text property.Forms.} Remarks By default.Visual Basic (Declaration) Public Property ShowText As System.PictureBoxSizeMode SizeMode {get. it may make it unreadable for some barcode readers. the control will show only the barcode image.Win. It has no effect on the actual barcode image. Syntax Visual Basic (Declaration) Public Property SizeMode As System. as returned by the Image property. set the ShowText property to True and set the Font property to the Font to be used for the textual display. Although stretching the image is possible.

See the CodeTypeEnum enumeration for details. Others are limited to numeric values or to a specific set of characters.Code39.CodeType = CodeTypeEnum.Win.  C# c1barcode1. pictureBox1. Example This sample shows how to use the Text property to encode the value "123456" as a Code39encoded barcode. the control will display a blank image.Win.string Text {get.Text = "123456".Image = c1barcode1.C1BarCode Class C1BarCode Members Text Property Example C1.Image. Syntax Visual Basic (Declaration) Public Overrides Property Text As System.String C# public override System.C1BarCode Namespace > C1BarCode Class : Text Property Gets or sets the value that is encoded as a barcode image.C1BarCode. If you use characters that are invalid for the current encoding. See Also Reference C1BarCode Class C1BarCode Members C1QRCode Members Example .4 Assembly > C1. c1barcode1. set.} Remarks Some encodings support alpha-numeric values of any length.

denso-wave. flexibility (you don't need special scanners to read it).Win.C1.org/wiki/QR_code.Image.  C# c1qr1.Windows.4 Assembly > C1.wikipedia.Win. and the fact that the original developer of the format (the DENSO-WAVE company) made it an open and freely available standard (ISO/IEC18004 and others).Image = c1qr1. Object Model Syntax Visual Basic (Declaration) Public Class C1QRCode Inherits System.Control C# public class C1QRCode : System. Inheritance Hierarchy . Example This sample shows how to use the Text property to encode the value "123456" as a QR barcode.com/qrcode/qrstandarde.Text = "Hello QR!".C1BarCode Namespace : C1QRCode Class Creates QR barcode representations of alphanumeric values.Windows. The main reasons for the popularity of the QR format are its efficiency (it is very compact).C1BarCode. For details on the QR format. pictureBox1. If you want to include the QR image in a document. with free readers available for virtually all smart phones. use the Image property to retrieve an image of the barcode.Forms. The control will show the QR image.html and http://en. simply set the Text property to the value you want to encode. please see: http://www.Control Remarks To use the C1QRCode control. The QR (Quick Response) format is one of the most popular 2D barcode formats today.Forms.

and the fact that the original developer of .C1BarCode Namespace Overview Members Example C1.MarshalByRefObject System. with free readers available for virtually all smart phones. flexibility (you don't need special scanners to read it).Forms. use the Image property to retrieve an image of the barcode.C1BarCode. If you want to include the QR image in a document.Control C1.4 Assembly > C1.C1BarCode.C1BarCode Namespace : C1QRCode Class Creates QR barcode representations of alphanumeric values.Object System. The QR (Quick Response) format is one of the most popular 2D barcode formats today.Windows.System.Control Remarks To use the C1QRCode control. simply set the Text property to the value you want to encode. The main reasons for the popularity of the QR format are its efficiency (it is very compact).Windows.C1QRCode See Also Reference C1QRCode Members C1.Forms.Win.Win. Object Model Syntax Visual Basic (Declaration) Public Class C1QRCode Inherits System.Win.Win.Component System.Control C# public class C1QRCode : System.Forms.Windows.ComponentModel. The control will show the QR image.

Win. please see: http://www. Inheritance Hierarchy System.wikipedia.denso-wave.org/wiki/QR_code.html and http://en. pictureBox1.  C# c1qr1.Win. Top Public Properties .Control C1.Win.C1BarCode.Win.Text = "Hello QR!".C1QRCode See Also Reference C1QRCode Members C1.C1BarCode.com/qrcode/qrstandarde.Image = c1qr1.Windows.Object System.Component System. Public Constructors Name Description C1QRCode Constructor Creates a new instance of the C1QRCode control.Image.Forms.the format (the DENSO-WAVE company) made it an open and freely available standard (ISO/IEC18004 and others).MarshalByRefObject System.C1BarCode Namespace : C1QRCode Class The following tables list the members exposed by C1QRCode.ComponentModel.C1BarCode Namespace Members Properties Methods Events C1. For details on the QR format. Example This sample shows how to use the Text property to encode the value "123456" as a QR barcode.4 Assembly > C1.

Forms.Forms.Windows.Control) Bottom (Inherited from System. Gets or sets the background color for the control.Windows.Control) AccessibleDefaultActionDescription (Inherited from System.Forms.Windows.Windows.Forms.Forms.Control) BackColor Overridden.Forms.Forms.Windows.Control) AccessibleDescription (Inherited from System.Forms.Windows.Forms.Windows.Windows.Windows.Forms.Windows.Control) AllowDrop (Inherited from System.Windows.Control) CausesValidation (Inherited from System.Forms.Forms.Control) BindingContext (Inherited from System. BackgroundImage (Inherited from System.Forms.Forms.Control) BackgroundImageLayout (Inherited from System.Windows.Windows.Control) Anchor (Inherited from System.Name Description AccessibilityObject (Inherited from System.Windows.Control) AccessibleName (Inherited from System.Control) AccessibleRole (Inherited from System.Control) CanSelect (Inherited from System.Control) .Forms.Control) Capture (Inherited from System.Windows.Forms.Windows.Forms.Control) CanFocus (Inherited from System.Control) AutoScrollOffset (Inherited from System.Control) Bounds (Inherited from System.Windows.

CompanyName (Inherited from System.Forms.Forms.Windows.Forms.Control) Cursor (Inherited from System.Control) ContextMenu (Inherited from System.Windows.Control) Dock (Inherited from System.Windows.Control) Created (Inherited from System.Windows.Forms.Component) ContainsFocus (Inherited from System.Control) Encoding Gets or sets the Encoding used to translate the content in the Text property into binary values to be encoded in the QR code.Control) Container (Inherited from System.Windows.Control) CodeVersion Gets or sets the "version" of QR code to generate.Exception that prevented the Text from being encoded.Windows.Forms.Forms.Windows.Control) Disposing (Inherited from System.Windows.Forms.Control) DataBindings (Inherited from System. .Windows.Control) DisplayRectangle (Inherited from System.Forms.Windows.Forms.Control) Controls (Inherited from System.Forms.Windows.Control) ContextMenuStrip (Inherited from System.Forms.Windows.Windows.Windows.Control) ClientSize (Inherited from System.Control) Enabled (Inherited from System. EncodingException Gets the System.ClientRectangle (Inherited from System.Forms.ComponentModel.Forms.Forms.

Windows.Windows.Windows.Forms.Control) LayoutEngine (Inherited from System. ImeMode (Inherited from System.Forms.Control) HasChildren (Inherited from System.Control) ForeColor Overridden.Control) IsHandleCreated (Inherited from System.Forms.Windows.Control) IsDisposed (Inherited from System.Forms.Windows. Handle (Inherited from System.Control) Height (Inherited from System.Control) IsAccessible (Inherited from System.Windows.ErrorCorrectionLevel Gets or sets the error correction level used to create the QR code.Control) MaximumSize (Inherited from System.Forms.Forms. Focused (Inherited from System.Forms.Windows.Windows.Windows.Forms.Forms.Control) InvokeRequired (Inherited from System.Windows.Windows. Gets or sets the foreground color for the control.Windows.Forms.Control) .Forms.Forms.Forms.Forms.Control) Left (Inherited from System.Windows.Windows.Control) Location (Inherited from System.Control) Image Gets an image of the barcode that represents the value in the Text property.Forms.Control) IsMirrored (Inherited from System.Control) Margin (Inherited from System.Windows.

Forms.Windows.Forms.Windows.Forms.Forms.Windows.Forms.Control) RecreatingHandle (Inherited from System.Forms.Control) Size (Inherited from System.Forms.Windows.Windows.Control) Site (Inherited from System.Forms.Forms.Windows.Windows.Control) Region (Inherited from System.Windows.Windows.Control) Name (Inherited from System.MinimumSize (Inherited from System.Control) Right (Inherited from System.Forms. of the symbols used to build the QR image.Forms.Windows.Control) ProductVersion (Inherited from System.Control) Padding (Inherited from System.Forms.Control) .Windows.Windows.Control) SizeMode Gets or sets how the barcode image is displayed within the control.Windows.Control) ProductName (Inherited from System.Windows.Windows. in pixels.Control) PreferredSize (Inherited from System.Control) TabStop (Inherited from System.Control) RightToLeft (Inherited from System. SymbolSize Gets or sets the size.Forms.Forms.Control) Tag (Inherited from System. TabIndex (Inherited from System.Control) Parent (Inherited from System.Forms.Windows.Forms.

Gets or sets the value that is encoded as a barcode image.Windows.Control) BringToFront (Inherited from System.Forms.Windows.Forms.Windows.Control) .Control) EndInvoke (Inherited from System.Control) Contains (Inherited from System.Windows.Windows.Control) CreateGraphics (Inherited from System.Windows.Forms.Control) TopLevelControl (Inherited from System.Forms.Windows.Control) CreateObjRef (Inherited from System.Control) Top Public Methods Name Description BeginInvoke Overloaded.Forms.Control) Visible (Inherited from System.Component) DoDragDrop (Inherited from System.Forms. (Inherited from System.Windows.Forms.Control) DrawToBitmap (Inherited from System.Windows.ComponentModel.Windows.Text Overridden.Control) CreateControl (Inherited from System.Windows.Forms.Control) Width (Inherited from System.MarshalByRefObject) Dispose (Inherited from System.Forms.Windows.Forms.Control) UseWaitCursor (Inherited from System.Forms.Forms.Forms. Top (Inherited from System.Windows.

Windows.Control) GetImage Overloaded.Control) GetChildAtPoint Overloaded.Forms.Windows.Control) PerformLayout Overloaded.Forms.Windows.Windows.Windows.Windows. (Inherited from System.Windows.Control) InitializeLifetimeService (Inherited from System.Forms. Gets an image of the QR code that represents the value in the Text property.Control) PointToScreen (Inherited from System. (Inherited from System.Control) RectangleToClient (Inherited from System. (Inherited from System.Control) Invoke Overloaded.Forms.Forms.MarshalByRefObject) Invalidate Overloaded.Windows.Control) GetContainerControl (Inherited from System.Forms.Windows.Windows.Forms.Control) RectangleToScreen (Inherited from System.Forms.Windows.Control) Hide (Inherited from System.Forms.Forms.Control) Focus (Inherited from System.Control) PointToClient (Inherited from System.Forms.Control) PreProcessMessage (Inherited from System.Forms.Forms.FindForm (Inherited from System.Windows.Control) GetPreferredSize (Inherited from System.Forms.MarshalByRefObject) GetNextControl (Inherited from System.Windows.Windows.Windows.Control) .Forms.Control) PreProcessControlMessage (Inherited from System.Forms. GetLifetimeService (Inherited from System. (Inherited from System.Windows.

(Inherited from System.Control) CausesValidationChanged (Inherited from System.Refresh (Inherited from System.Control) ToString (Inherited from System.Control) BackgroundImageLayoutChanged (Inherited from System.Forms.Control) Show (Inherited from System.Control) ResumeLayout Overloaded.Windows.Component) Update (Inherited from System.Windows.Forms.Forms.Forms.Windows.ComponentModel.Control) Scale (Inherited from System.Forms.Windows.Windows.Windows.Control) SelectNextControl (Inherited from System.Windows.Control) BackgroundImageChanged (Inherited from System.Windows.Forms.Control) Top Public Events Name Description BackColorChanged (Inherited from System. (Inherited from System.Windows.Forms.Windows.Control) .Windows.Forms.Forms.Windows.Control) ResetText (Inherited from System.Windows.Windows.Forms.Control) SendToBack (Inherited from System.Windows.Control) SuspendLayout (Inherited from System.Control) BindingContextChanged (Inherited from System.Control) Select (Inherited from System.Forms.Control) SetBounds Overloaded.Forms.Windows.Forms.Forms.Forms.Forms.

Forms.Windows.Control) ClientSizeChanged (Inherited from System.Windows.Windows.Control) DragEnter (Inherited from System.Forms.ComponentModel.Windows.Forms.Forms.Forms.Forms.Forms.Forms.Control) EnabledChanged (Inherited from System.Forms.Windows.Windows.Control) DragDrop (Inherited from System.Control) ForeColorChanged (Inherited from System.Control) ControlRemoved (Inherited from System.Forms.Windows.Forms.Windows.Control) ControlAdded (Inherited from System.Forms.Control) CursorChanged (Inherited from System.Control) DoubleClick (Inherited from System.Windows.Control) DragOver (Inherited from System.Windows.Forms.Control) FontChanged (Inherited from System.Control) Disposed (Inherited from System.Control) DragLeave (Inherited from System.Windows.Windows.Control) Enter (Inherited from System.Control) ContextMenuStripChanged (Inherited from System.Forms.Control) Click (Inherited from System.Forms.ChangeUICues (Inherited from System.Forms.Windows.Windows.Component) DockChanged (Inherited from System.Control) .Windows.Control) ContextMenuChanged (Inherited from System.Forms.Windows.Forms.Windows.Windows.

Control) ImeModeChanged (Inherited from System.Forms.Control) KeyPress (Inherited from System.Forms.Forms.Forms.Forms.Windows.Forms.Control) LostFocus (Inherited from System.Windows.Forms.Forms.Windows.Windows.Control) MouseCaptureChanged (Inherited from System.Control) KeyUp (Inherited from System.Control) GotFocus (Inherited from System.Control) LocationChanged (Inherited from System.Control) HandleDestroyed (Inherited from System.Forms.Forms.Windows.Forms.Windows.Control) HandleCreated (Inherited from System.Windows.Control) MouseDoubleClick (Inherited from System.Forms.Windows.Windows.Forms.Control) HelpRequested (Inherited from System.GiveFeedback (Inherited from System.Windows.Control) .Windows.Forms.Control) KeyDown (Inherited from System.Forms.Forms.Forms.Windows.Windows.Windows.Control) Leave (Inherited from System.Windows.Windows.Windows.Control) MouseDown (Inherited from System.Control) Layout (Inherited from System.Forms.Control) MarginChanged (Inherited from System.Windows.Forms.Control) MouseClick (Inherited from System.Control) Invalidated (Inherited from System.Windows.

Control) SizeChanged (Inherited from System.Forms.Forms.Control) RegionChanged (Inherited from System.Control) MouseHover (Inherited from System.Control) RightToLeftChanged (Inherited from System.Control) Paint (Inherited from System.Forms.Control) ParentChanged (Inherited from System.Control) StyleChanged (Inherited from System.Control) PreviewKeyDown (Inherited from System.Forms.Forms.Windows.Forms.Windows.Forms.Control) QueryAccessibilityHelp (Inherited from System.Windows.Control) QueryContinueDrag (Inherited from System.Windows.Windows.Control) MouseWheel (Inherited from System.Windows.Forms.Control) Move (Inherited from System.Control) PaddingChanged (Inherited from System.Windows.Forms.Control) MouseMove (Inherited from System.Windows.Windows.Forms.Windows.Windows.Windows.Forms.MouseEnter (Inherited from System.Forms.Windows.Windows.Windows.Forms.Forms.Forms.Forms.Forms.Control) MouseUp (Inherited from System.Windows.Windows.Windows.Windows.Control) SystemColorsChanged (Inherited from System.Control) Resize (Inherited from System.Control) MouseLeave (Inherited from System.Forms.Control) .Forms.

Forms.Win.Windows.C1BarCode.Forms.Control) TabStopChanged (Inherited from System.Forms.Control) Top See Also Reference C1QRCode Class C1.Control) TextChanged (Inherited from System.Windows.Control) Validating (Inherited from System.Control) Validated (Inherited from System.Forms.Win.Control) VisibleChanged (Inherited from System.Forms. Syntax Visual Basic (Declaration) Public Function New() C# public C1QRCode() See Also Reference C1QRCode Class C1QRCode Members .4 Assembly > C1.Windows.Forms.C1BarCode Namespace > C1QRCode Class : C1QRCode Constructor Creates a new instance of the C1QRCode control.Windows.Win.TabIndexChanged (Inherited from System.C1BarCode Namespace C1QRCode Constructor C1.Windows.Windows.

Control) CreateObjRef (Inherited from System.Windows. (Inherited from System.Windows.Control) GetChildAtPoint Overloaded. see C1QRCode members. (Inherited from System.Forms.Control) BringToFront (Inherited from System.Windows.Forms.Windows.Forms.Windows. .Forms.Forms.Forms.Windows.ComponentModel.Windows.Control) GetContainerControl (Inherited from System.Forms.Windows.Windows.Control) CreateControl (Inherited from System.Forms.Forms.Component) DoDragDrop (Inherited from System.Forms.Methods C1.Win.Control) GetImage Overloaded.C1BarCode Namespace : C1QRCode Class For a list of all members of this type.Control) CreateGraphics (Inherited from System.Forms.Control) EndInvoke (Inherited from System.4 Assembly > C1.Control) DrawToBitmap (Inherited from System.C1BarCode. Public Methods Name Description BeginInvoke Overloaded.Win.Windows.Forms.Control) Contains (Inherited from System. Gets an image of the QR code that represents the value in the Text property.Control) FindForm (Inherited from System.Control) Focus (Inherited from System.Windows.Windows.MarshalByRefObject) Dispose (Inherited from System.

Control) PerformLayout Overloaded. (Inherited from System.Control) RectangleToScreen (Inherited from System.Windows.Forms.GetLifetimeService (Inherited from System.Control) InitializeLifetimeService (Inherited from System.Forms.Windows.Control) Select (Inherited from System.Forms.Forms.Control) Invoke Overloaded.Windows.Forms. (Inherited from System.Control) PreProcessControlMessage (Inherited from System.Forms.Forms.Control) ResetText (Inherited from System.Windows.Control) PointToClient (Inherited from System.Forms.Windows.Control) Scale (Inherited from System.Control) RectangleToClient (Inherited from System.Forms. (Inherited from System.Windows.Forms.Forms.Control) ResumeLayout Overloaded.Windows.Windows.Windows.Control) PreProcessMessage (Inherited from System.Control) PointToScreen (Inherited from System.Control) GetPreferredSize (Inherited from System.Windows.Windows.MarshalByRefObject) GetNextControl (Inherited from System.Forms.Windows.Control) .Windows.MarshalByRefObject) Invalidate Overloaded.Windows.Forms.Windows.Windows.Forms.Windows.Forms.Control) Hide (Inherited from System.Control) Refresh (Inherited from System. (Inherited from System.Forms.Forms.

GetImage(ImageFormat.Forms.Control) SuspendLayout (Inherited from System.Int32) Gets an image of the QR code that represents the value in the Text property.Component) Update (Inherited from System.Control) SetBounds Overloaded.Win.Control) SendToBack (Inherited from System.Forms.Windows.Forms.Win.Int32.Windows.Win.C1BarCode Namespace GetImage Method C1.C1BarCode Namespace > C1QRCode Class : GetImage Method Gets an image of the QR code that represents the value in the Text property.Control) Top See Also Reference C1QRCode Class C1.C1BarCode. See Also Reference .Forms.Windows.Windows. Overload List Overload Description GetImage(ImageFormat) Gets an image of the QR code that represents the value in the Text property.SelectNextControl (Inherited from System.Control) ToString (Inherited from System.ComponentModel.Windows.4 Assembly > C1.Forms. (Inherited from System.Windows.Forms.Control) Show (Inherited from System.

Drawing.Win.Imaging. However.Image GetImage( System.4 Assembly > C1.ImageFormat value that specifies the type of image to be created.ImageFormat format ) Parameters format An System.Imaging.Drawing. See Also Reference .Drawing.Image C# public System. Remarks The Image property can also be used to obtain an image of the barcode.Imaging.C1BarCode. Syntax Visual Basic (Declaration) Public Overloads Function GetImage( _ ByVal format As System.Drawing.ImageFormat _ ) As System.Metafile image of a pre-set size and with a transparent background.Drawing. it always returns a System.C1QRCode Class C1QRCode Members GetImage(ImageFormat) Method C1. Return Value An image of the barcode with the specified format. Gets an image of the QR code that represents the value in the Text property. This method returns solid-background bitmaps.C1BarCode Namespace > C1QRCode Class > GetImage Method : GetImage(ImageFormat) Method An System.Win.Imaging.Drawing.Imaging.ImageFormat value that specifies the type of image to be created.Drawing.

Int32) Method An System. System. Syntax Visual Basic (Declaration) Public Overloads Function GetImage( _ ByVal format As System.ImageFormat value that specifies the type of image to be created.4 Assembly > C1.Image GetImage( System.Image C# public System. width The width of the image.int width.Imaging.Imaging.ImageFormat format. _ ByVal height As System.Int32) Method C1. in pixels.ImageFormat.C1QRCode Class C1QRCode Members Overload List GetImage(ImageFormat. System.Drawing.ImageFormat value that specifies the type of image to be created.Drawing.C1BarCode.Win.Int32. The width of the image. height The height of the image.Int32. _ ByVal width As System.Drawing. The height of the image. in pixels.Drawing. Gets an image of the QR code that represents the value in the Text property. in pixels.Imaging.int height ) Parameters format An System.Imaging. .Drawing.Drawing.Win. in pixels.Integer _ ) As System.C1BarCode Namespace > C1QRCode Class > GetImage Method : GetImage(ImageFormat.Integer.

C1BarCode.Windows.Return Value An image of the barcode with the specified format and dimensions.C1BarCode Namespace : C1QRCode Class For a list of all members of this type. it always returns a System.Forms.Control) Anchor (Inherited from System. See Also Reference C1QRCode Class C1QRCode Members Overload List Properties C1.Forms. This method returns solidbackground bitmaps.4 Assembly > C1.Forms.Control) AutoScrollOffset (Inherited from System.Forms.Metafile image of a pre-set size and with a transparent background.Control) AccessibleDefaultActionDescription (Inherited from System.Forms.Windows.Windows.Control) .Control) AccessibleDescription (Inherited from System.Windows.Forms.Windows.Control) AllowDrop (Inherited from System.Windows.Imaging.Forms. Remarks The Image property can also be used to obtain an image of the barcode.Win. Public Properties Name Description AccessibilityObject (Inherited from System.Control) AccessibleName (Inherited from System.Drawing.Windows.Windows. see C1QRCode members.Forms.Win.Control) AccessibleRole (Inherited from System. However.

Control) Bottom (Inherited from System.Control) CausesValidation (Inherited from System.Windows.Control) BackgroundImageLayout (Inherited from System.Windows.Control) ContextMenuStrip (Inherited from System.Forms.Windows.Forms.Control) .Control) Bounds (Inherited from System.Component) ContainsFocus (Inherited from System. Gets or sets the background color for the control. CompanyName (Inherited from System.Control) CanFocus (Inherited from System.Control) BindingContext (Inherited from System.Control) Controls (Inherited from System.Control) Container (Inherited from System.Forms.Control) ContextMenu (Inherited from System.Forms.Forms.Windows.Forms.Forms.Forms.Control) ClientRectangle (Inherited from System.Forms.Windows.BackColor Overridden.Forms.Windows.Control) CanSelect (Inherited from System.Windows.Windows.Windows.ComponentModel.Windows.Windows.Windows.Windows.Forms.Forms.Forms.Windows.Control) ClientSize (Inherited from System.Windows. BackgroundImage (Inherited from System.Control) Capture (Inherited from System.Forms.Windows.Forms.Forms.Control) CodeVersion Gets or sets the "version" of QR code to generate.

Control) DataBindings (Inherited from System.Exception that prevented the Text from being encoded. EncodingException Gets the System.Control) HasChildren (Inherited from System.Windows.Control) Encoding Gets or sets the Encoding used to translate the content in the Text property into binary values to be encoded in the QR code.Windows. Focused (Inherited from System.Forms.Windows.Windows.Created (Inherited from System.Forms.Forms.Control) DisplayRectangle (Inherited from System. Handle (Inherited from System.Forms.Control) Disposing (Inherited from System. .Forms.Windows.Control) Image Gets an image of the barcode that represents the value in the Text property.Control) Cursor (Inherited from System.Forms.Windows.Forms. ErrorCorrectionLevel Gets or sets the error correction level used to create the QR code.Control) ForeColor Overridden.Control) Dock (Inherited from System.Forms.Windows.Windows.Forms. Gets or sets the foreground color for the control.Windows.Control) Height (Inherited from System.Windows.Control) Enabled (Inherited from System.Windows.Forms.Forms.

Forms.Control) Parent (Inherited from System.Control) MinimumSize (Inherited from System.Control) MaximumSize (Inherited from System.Windows.Control) LayoutEngine (Inherited from System.Forms.Windows.Control) RecreatingHandle (Inherited from System.Windows.Control) InvokeRequired (Inherited from System.Control) ProductVersion (Inherited from System.Forms.Forms.Forms.Control) Margin (Inherited from System.Forms.Forms.Windows.Windows.Windows.Control) .Windows.Forms.Windows.Windows.Forms.Forms.Forms.Windows.Forms.Control) IsDisposed (Inherited from System.Control) IsAccessible (Inherited from System.Windows.Forms.Forms.Windows.Forms.Control) PreferredSize (Inherited from System.Control) Left (Inherited from System.Windows.Control) Name (Inherited from System.Forms.Forms.ImeMode (Inherited from System.Windows.Control) IsMirrored (Inherited from System.Control) Location (Inherited from System.Control) ProductName (Inherited from System.Windows.Windows.Windows.Forms.Forms.Control) IsHandleCreated (Inherited from System.Windows.Control) Padding (Inherited from System.Windows.

Forms.Windows.Control) Tag (Inherited from System.Control) Visible (Inherited from System.Windows.Control) UseWaitCursor (Inherited from System.Windows.Forms.Windows.Control) Text Overridden.Windows. SymbolSize Gets or sets the size.Forms.Control) Width (Inherited from System.Forms.Forms.Forms.Forms.Windows.Control) Size (Inherited from System. Top (Inherited from System.Control) TopLevelControl (Inherited from System.Control) Top See Also Reference .Forms.Control) Site (Inherited from System.Control) TabStop (Inherited from System. TabIndex (Inherited from System. in pixels.Windows. Gets or sets the value that is encoded as a barcode image.Windows.Windows.Windows.Forms.Region (Inherited from System.Forms.Forms. of the symbols used to build the QR image.Control) Right (Inherited from System.Control) SizeMode Gets or sets how the barcode image is displayed within the control.Forms.Windows.Windows.Windows.Forms.Control) RightToLeft (Inherited from System.

Syntax Visual Basic (Declaration) Public Overrides Property BackColor As System.Win. Syntax Visual Basic (Declaration) Public Property CodeVersion As System. set.Color BackColor {get. set.4 Assembly > C1.C1BarCode.C1QRCode Class C1.int CodeVersion {get.} Remarks .Win. See Also Reference C1QRCode Class C1QRCode Members CodeVersion Property C1.C1BarCode Namespace > C1QRCode Class : BackColor Property Gets or sets the background color for the control.C1BarCode Namespace > C1QRCode Class : CodeVersion Property Gets or sets the "version" of QR code to generate.Color C# public override System.Win.Drawing. The barcode image that is available through the Image property always has a transparent background.Integer C# public System.4 Assembly > C1.Win.} Remarks The background color only applies to the control.Win.Drawing.C1BarCode Namespace BackColor Property C1.C1BarCode.

} Remarks More flexible encodings have lower capacity. or 271 bytes. which causes the control to automatically select the most compact encoding that can be used based on the content specified in the Text property. which allow encoding up to 652 digits. or 395 alphanumeric characters. The C1QRCode control can generate QR codes versions one through ten only.C1BarCode. or 271 bytes. The C1QRCode control can encode up to 652 digits. or 395 alphanumeric characters.Automatic.The QR specification includes 40 "versions" of QR codes.C1BarCode Namespace > C1QRCode Class : Encoding Property Gets or sets the Encoding used to translate the content in the Text property into binary values to be encoded in the QR code.Win. Syntax Visual Basic (Declaration) Public Property Encoding As Encoding C# public Encoding Encoding {get.4 Assembly > C1. Higher versions consume more space and are able to encode more information. set. Set the CodeVersion property to zero (the default value) to automatically use the most compact version able to render the content specified in the Text property.Win. See Also Reference C1QRCode Class C1QRCode Members Encoding Property C1. The default value for this property is Encoding. See Also Reference C1QRCode Class C1QRCode Members .

Text = textBox1.Exception EncodingException {get. If these limits are exceeded. .Message.Win.4 Assembly > C1. Example The code below sets the Text property and shows a message in case any errors are detected:  C# c1QRCode1.Exception that prevented the Text from being encoded. Syntax Visual Basic (Declaration) Public ReadOnly Property EncodingException As System.C1BarCode Namespace > C1QRCode Class : EncodingException Property Gets the System. or 271 bytes. or if any of the control properties is set to values that prevent the content of the Text property from being encoded.Win.} Remarks The C1QRCode control can be used to encode up to 652 digits.C1BarCode.4 Assembly > C1. or 395 alphanumeric characters (uppercase only). See Also Reference C1QRCode Class C1QRCode Members ErrorCorrectionLevel Property C1.EncodingException Property Example C1.Empty : c1QRCode1. the control remains blank. label1.C1BarCode.EncodingException == null ? string.C1BarCode Namespace > C1QRCode Class : ErrorCorrectionLevel Property Gets or sets the error correction level used to create the QR code.Win.Text. and the EncodingException property contains details that explain why the code could not be generated.Text = c1QRCode1.EncodingException.Win.Exception C# public System.

Syntax Visual Basic (Declaration) Public Overrides Property ForeColor As System.} Remarks The foreground color applies to the control and also to the barcode image that is available through the Image property.Drawing. set.C1BarCode. See Also Reference C1QRCode Class C1QRCode Members ForeColor Property C1.Color ForeColor {get. See Also .4 Assembly > C1. The default value for this property is the lowest level.Syntax Visual Basic (Declaration) Public Property ErrorCorrectionLevel As ErrorCorrectionLevel C# public ErrorCorrectionLevel ErrorCorrectionLevel {get.Drawing.Win. which produces the most compact QR codes.Win.C1BarCode Namespace > C1QRCode Class : ForeColor Property Gets or sets the foreground color for the control.Color C# public override System. set. Higher levels of error correction also reduce the amount of data that can be encoded in a given area. making it more resistant to damage.} Remarks Higher levels of error correction add more redundant information to the QR code.

it may become unreadable to some readers.C1BarCode.Drawing.C1BarCode Namespace > C1QRCode Class : SizeMode Property Gets or sets how the barcode image is displayed within the control. The metafile image has a transparent background and therefore cannot be easily converted to a solid-background bitmap.Drawing.Imaging. use the GetImage(ImageFormat) method instead.Drawing.Bitmap image of the barcode.Win.Win.Win.4 Assembly > C1.Win.Reference C1QRCode Class C1QRCode Members Image Property C1.Image C# public System.Drawing.} Remarks The Image property returns a System. If the value stored in the Text property is invalid for the current encoding. To obtain a System. the image returned is blank. Syntax Visual Basic (Declaration) Public ReadOnly Property Image As System. See Also Reference C1QRCode Class C1QRCode Members SizeMode Property C1.Image Image {get. the default size is optimal for common barcode readers.C1BarCode Namespace > C1QRCode Class : Image Property Gets an image of the barcode that represents the value in the Text property.Metafile that can be inserted in reports and other documents. Keep in mind that if you stretch the image and make it very large or very small.C1BarCode. Syntax .4 Assembly > C1. Although the barcode image returned by the control is scalable.

4 Assembly > C1. It has no effect on the actual barcode image. set.Windows.PictureBoxSizeMode SizeMode {get. Although stretching the image is possible. This property must be set to values between 2 and 10.Forms.C1BarCode Namespace > C1QRCode Class : SymbolSize Property Gets or sets the size.} Remarks This property only affects how the barcode is displayed within the control.Win. Syntax Visual Basic (Declaration) Public Property SymbolSize As System.PictureBoxSizeMode C# public System. See Also Reference C1QRCode Class C1QRCode Members SymbolSize Property C1. you will either center or left-align the barcode image within the control. which usually represents a good compromise between size and readability. of the symbols used to build the QR image. set.} Remarks Larger values will result in larger images which consume more space but may be easier to for some scanners to read.Integer C# public System.Win.Windows.int SymbolSize {get. as returned by the Image property. .Visual Basic (Declaration) Public Property SizeMode As System. in pixels. In most applications.C1BarCode.Forms. The default symbol size is three pixels. it may make it unreadable for some barcode readers.

4 Assembly > C1. Object Model Syntax Visual Basic (Declaration) Public MustInherit NotInheritable Class Strings .String C# public override System.See Also Reference C1QRCode Class C1QRCode Members Text Property C1. set.C1BarCode.Win.C1BarCode Namespace : Strings Class Static class containing UI strings used by the designer. Syntax Visual Basic (Declaration) Public Overrides Property Text As System.C1BarCode.Win.C1BarCode Namespace > C1QRCode Class : Text Property Gets or sets the value that is encoded as a barcode image.4 Assembly > C1.Win.string Text {get.Win.} See Also Reference C1QRCode Class C1QRCode Members Strings Members C1.

C#
public static class Strings

Inheritance Hierarchy
System.Object
C1.Win.C1BarCode.Strings

See Also
Reference
Strings Members
C1.Win.C1BarCode Namespace

Overview
Members
C1.Win.C1BarCode.4 Assembly > C1.Win.C1BarCode Namespace : Strings Class

Static class containing UI strings used by the designer.

Object Model

Syntax
Visual Basic (Declaration)
Public MustInherit NotInheritable Class Strings
C#
public static class Strings

Inheritance Hierarchy
System.Object
C1.Win.C1BarCode.Strings

See Also
Reference

Strings Members
C1.Win.C1BarCode Namespace

Members
Properties
C1.Win.C1BarCode.4 Assembly > C1.Win.C1BarCode Namespace : Strings Class

The following tables list the members exposed by Strings.

Public Properties
Name

Description

ResourceManager
UICulture
Top

See Also
Reference
Strings Class
C1.Win.C1BarCode Namespace

Properties
C1.Win.C1BarCode.4 Assembly > C1.Win.C1BarCode Namespace : Strings Class

For a list of all members of this type, see Strings members.

Public Properties
Name
ResourceManager
UICulture
Top

See Also
Reference

Description

Strings Class
C1.Win.C1BarCode Namespace

ResourceManager Property
C1.Win.C1BarCode.4 Assembly > C1.Win.C1BarCode Namespace > Strings Class : ResourceManager
Property

Syntax
Visual Basic (Declaration)
Public Shared Property ResourceManager As System.Resources.ResourceManager
C#
public static System.Resources.ResourceManager ResourceManager {get; set;}

See Also
Reference
Strings Class
Strings Members

UICulture Property
C1.Win.C1BarCode.4 Assembly > C1.Win.C1BarCode Namespace > Strings Class : UICulture Property

Syntax
Visual Basic (Declaration)
Public Shared ReadOnly Property UICulture As System.Globalization.CultureInfo
C#
public static System.Globalization.CultureInfo UICulture {get;}

See Also
Reference
Strings Class
Strings Members

Strings.Errors
Members

Win.Win.C1BarCode.Errors Class Object Model Syntax Visual Basic (Declaration) Public MustInherit NotInheritable Class Strings.Strings.Errors See Also Reference Strings.Errors Members C1.Errors Class Object Model Syntax Visual Basic (Declaration) Public MustInherit NotInheritable Class Strings.Object C1.4 Assembly > C1.Errors C# public static class Strings.C1BarCode Namespace : Strings.C1BarCode.4 Assembly > C1.C1BarCode Namespace Overview Members C1.Win.C1BarCode.C1.C1BarCode Namespace : Strings.Errors .Win.Errors C# public static class Strings.Win.Win.Errors Inheritance Hierarchy System.

C1BarCode Namespace Properties C1.C1BarCode Namespace : Strings.Errors.Win.Errors Class .Win.Errors See Also Reference Strings.C1BarCode.Errors Class The following tables list the members exposed by Strings.Object C1. Public Properties Name Description BarHeightMustBePositive BarNarrowMustBePositive BarWideMustBePositive InvalidCodeVersion InvalidSymbolSize Top See Also Reference Strings.Win.Win.Errors Class C1.C1BarCode Namespace : Strings.Strings.C1BarCode.Errors Members C1.Inheritance Hierarchy System.Win.4 Assembly > C1.Win.C1BarCode Namespace Members Properties C1.Win.C1BarCode.4 Assembly > C1.

Win.For a list of all members of this type.Errors Class C1.Win.C1BarCode Namespace > Strings.} See Also Reference Strings.4 Assembly > C1.String C# public static System.Errors Class : BarHeightMustBePositive Property Syntax Visual Basic (Declaration) Public Shared ReadOnly Property BarHeightMustBePositive As System.C1BarCode.C1BarCode Namespace BarHeightMustBePositive Property C1. see Strings. Public Properties Name Description BarHeightMustBePositive BarNarrowMustBePositive BarWideMustBePositive InvalidCodeVersion InvalidSymbolSize Top See Also Reference Strings.Errors members.Win.string BarHeightMustBePositive {get.Errors Class Strings.Errors Members .

BarNarrowMustBePositive Property C1.Errors Members BarWideMustBePositive Property C1.C1BarCode Namespace > Strings.Errors Members InvalidCodeVersion Property C1.String C# public static System.Errors Class : InvalidCodeVersion Property Syntax .Win.C1BarCode Namespace > Strings.string BarWideMustBePositive {get.Win.string BarNarrowMustBePositive {get.Win.4 Assembly > C1.Errors Class : BarNarrowMustBePositive Property Syntax Visual Basic (Declaration) Public Shared ReadOnly Property BarNarrowMustBePositive As System.4 Assembly > C1.Win.4 Assembly > C1.Win.} See Also Reference Strings.Errors Class : BarWideMustBePositive Property Syntax Visual Basic (Declaration) Public Shared ReadOnly Property BarWideMustBePositive As System.Errors Class Strings.C1BarCode.} See Also Reference Strings.C1BarCode.C1BarCode.C1BarCode Namespace > Strings.Errors Class Strings.String C# public static System.Win.

Win.C1BarCode.C1BarCode.String C# public static System.Errors Members Enumerations BarDirectionEnum C1.Win.Visual Basic (Declaration) Public Shared ReadOnly Property InvalidCodeVersion As System.C1BarCode Namespace > Strings.} See Also Reference Strings.string InvalidSymbolSize {get.Win.4 Assembly > C1.4 Assembly > C1.Errors Members InvalidSymbolSize Property C1.C1BarCode Namespace : BarDirectionEnum Enumeration Specifies the direction of the barcode Syntax Visual Basic (Declaration) .string InvalidCodeVersion {get.Errors Class Strings.Errors Class : InvalidSymbolSize Property Syntax Visual Basic (Declaration) Public Shared ReadOnly Property InvalidSymbolSize As System.} See Also Reference Strings.String C# public static System.Win.Errors Class Strings.

BarDirectionEnum See Also Reference C1.Object System.C1BarCode Namespace CodeTypeEnum C1.Enum C1.C1BarCode.Enum C# public enum BarDirectionEnum : System. Inheritance Hierarchy System.4 Assembly > C1.ValueType System.Win. Up The barcode is rendered from the bottom up. Normal The barcode is rendered in the horizontal direction.Win. Syntax Visual Basic (Declaration) Public Enum CodeTypeEnum Inherits System.Enum .C1BarCode.Win.Public Enum BarDirectionEnum Inherits System.Win.C1BarCode Namespace : CodeTypeEnum Enumeration Specifies the type of barcode to be generated by the C1BarCode control.Enum Members Member Description Down The barcode is rendered from the top down.Enum C# public enum CodeTypeEnum : System.

It differs from most others in that it is based on the height of the bars rather than on their width. Code128 Code 128 is a very high density alpha-numeric bar code. Code93 Code 93 is an alpha-numeric encoding that is slightly denser than code 39. It will use the least amount of space of any current 1-D symbology for symbols with 6 characters or more. . and on FedEx air bills. as well as books. and is one of the most widely used encodings. The 12-digit code is followed by a checksum digit (automatically added by the control). It encodes a 7-digit code that consists of a 2 or 3 digit system code followed by a 4 or 5 digit product code. This was the first alphanumeric symbology developed.+). UpcA UPC-A is the common encoding you will find on virtually every consumer good on the shelves of your local supermarket. magazines. photo labs. The symbol can be as long as necessary to store the encoded data. Ean8 EAN-8 provides a short barcode for small packages. plus an additional 4 start/stop characters (A through D). CodeI2of5 Code I2of5 is a numeric encoding. Code39 Code 39 is an alpha-numeric encoding also known as 3 of 9 and LOGMARS. Ean13 EAN-13 was implemented by the International Article Numbering Association (EAN) in Europe. Codabar is used by some US blood banks. PostNet PostNet is a numeric encoding used by the US postal service.Members Member Description Codabar Codabar may encode 16 different characters (0 through 9 plus -$:/. EAN-13 encodes a 12-digit code that consists of a 2 digit system code followed by a 5 digit manufacturer code and a 5digit product code. The 7-digit code is followed by a checksum digit (automatically added by the control).

Note that not all UpcA codes can be encoded in UpcE. or "200". When using the UpcE encoding. then the product number must be between 5 and 9. others can only represent numeric values.C1BarCode.ValueType System. If the manufacturer code ends with "000". Some types of barcode can be used to represent alphanumeric values. It is similar to EAN-13. Remarks The CodeTypeEnum enumeration represents the different types of barcode that can be generated by the C1BarCode control. and encodes 11 digits of numeric data along with a trailing check digit.Enum C1.Win. Since the resulting UPC-E barcode is about half the size as an UPC-A barcode. then the product number must be <= 9.C1BarCode Namespace . If the manufacturer code ends with "0" but not with "00". "200". set the Text property to an 11-digit string as if you were using the UpcA encoding.CodeTypeEnum See Also Reference C1. it is generally used on products with very small packaging. The first digit determines the number system.Object System. a 5-digit product code. Inheritance Hierarchy System. If the manufacturer code ends with "00" but not with "100". the product number must be <= 900. then the product number must be <= 90. If the manufacturer code does not end with "0". and the check digit. "100".Win. followed by a 5-digit manufacturer code. or "300".and newspapers. UpcE UPC-E is a variation of UPC-A which allows for a more compact barcode by eliminating "extra" zeros.

4 Assembly > C1.Object System. and the following additional characters: dollar. minus. Syntax Visual Basic (Declaration) Public Enum Encoding Inherits System. Byte Encode up to 271 bytes.Win.Enum Members Member Description AlphaNumeric Encode up to 395 alpha-numeric values. asterisk.Win.ValueType System./:]). space. Alpha-numeric values include digits from 0 to 9. slash.Win.C1BarCode.C1BarCode.Encoding C1. percentage.Enum C1.Enum C# public enum Encoding : System.Encoding See Also Reference C1.C1BarCode Namespace : Encoding Enumeration Specifies the type of encoding to use (more flexible encodings consume more space). Automatic Select encoding automatically based on the content. and colon ([0-9][A-Z][$%*+-. Numeric Encode up to 652 numeric values. uppercase letters from A to Z.Win.C1BarCode Namespace . Inheritance Hierarchy System. plus.

ErrorCorrectionLevel See Also Reference C1.Enum C# public enum ErrorCorrectionLevel : System.Win.Win.ErrorCorrectionLevel C1.ValueType System.C1BarCode Namespace .Enum Members Member Description H Able to correct up to 30% damage.Win.Object System. Syntax Visual Basic (Declaration) Public Enum ErrorCorrectionLevel Inherits System.4 Assembly > C1. Q Able to correct up to 25% damage. Inheritance Hierarchy System.C1BarCode. M Able to correct up to 15% damage.Enum C1.C1BarCode. L Able to correct up to 7% damage.Win.C1BarCode Namespace : ErrorCorrectionLevel Enumeration Specifies the error-correction level (higher levels consume more space).