Class BarCode
Represents the base class of all bar codes.
public abstract class BarCode : CodeBase
- Inheritance
-
objectBarCode
- Derived
- Inherited Members
Constructors
- BarCode(string, XSize, CodeDirection)
Initializes a new instance of the BarCode class.
Properties
- DataLength
Gets or sets the length of the data that defines the bar code.
- EndChar
Gets or sets the optional end character.
- StartChar
Gets or sets the optional start character.
- TextLocation
Gets or sets the location of the text next to the bar code.
- TurboBit
Gets or sets a value indicating whether the turbo bit is to be drawn. (A turbo bit is something special to Kern (computer output processing) company (as far as I know))
- WideNarrowRatio
When overridden in a derived class gets or sets the wide narrow ratio.
Methods
- FromType(CodeType)
Creates a bar code from the specified code type.
- FromType(CodeType, string)
Creates a bar code from the specified code type.
- FromType(CodeType, string, XSize)
Creates a bar code from the specified code type.
- FromType(CodeType, string, XSize, CodeDirection)
Creates a bar code from the specified code type.
- Render(XGraphics, XBrush, XFont?, XPoint)
When defined in a derived class renders the code.