Skip to content

Commit 8f69b9b

Browse files
authored
Update README.md
1 parent dfea4a4 commit 8f69b9b

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

README.md

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# barcodelib ![Barcode CI](https://github.com/barnhill/barcodelib/workflows/Barcode%20CI/badge.svg) [![NuGet](https://img.shields.io/nuget/v/BarcodeLib.svg)](https://www.nuget.org/packages/BarcodeLib)
22

3-
### Overview ###
4-
3+
## Overview
4+
55
This library was designed to give an easy class for developers to use when they need to generate barcode images from a string of data.
66

77
| Supported | Symbology | List |
@@ -14,29 +14,32 @@ This library was designed to give an easy class for developers to use when they
1414
| ITF-14 | Telepen | UPC Supplemental 2 |
1515
| JAN-13 | EAN-13 | UPC Supplemental 5 |
1616

17-
### Usage ###
17+
## Usage
1818

1919
The library contains a class called BarcodeLib with three constructors:
20+
2021
```csharp
2122
Barcode();
2223
Barcode(string);
23-
Barcode(string, BarcodeLib.TYPE);
24+
Barcode(string, Type);
2425
```
2526

2627
If you decide to create an instance with parameters, the parameters are as follows: the string is the data to be encoded into the barcode, and BarcodeLib.TYPE is the symbology to encode the data with. If you do not choose to specify the data and type at the time the instance is created, you may specify them through the appropriate property later on (but before you encode).
2728

28-
### Example ###
29+
## Example
30+
2931
```csharp
3032
var b = new Barcode();
3133
b.IncludeLabel = true;
32-
Image img = b.Encode(BarcodeLib.TYPE.UPCA, "038000356216", Color.Black, Color.White, 290, 120);
34+
var img = b.Encode(Type.UpcA, "038000356216", SKColors.Black, SKColors.White, 290, 120);
3335
```
3436

3537
![Alt text](BarcodeStandard/examples/upca.jpg?raw=true "UPC-A")
3638

37-
### Support ###
39+
## Support
40+
3841
If you find this or any of my software useful and decide its worth supporting. You can do so here: [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QKT9PSYTDNSXS)
3942

40-
### Copyright and license ###
43+
## Copyright and license
4144

4245
Copyright 2007-2023 Brad Barnhill. Code released under the [Apache License, Version 2.0](https://github.com/bbarnhill/barcodelib/blob/master/LICENSE).

0 commit comments

Comments
 (0)