PdfSharp-GDI  1.31.7289
PdfSharp.Drawing.BarCodes.ThickThinBarCode Class Referenceabstract

Internal base class for several bar code types. More...

Inheritance diagram for PdfSharp.Drawing.BarCodes.ThickThinBarCode:
PdfSharp.Drawing.BarCodes.BarCode PdfSharp.Drawing.BarCodes.CodeBase PdfSharp.Drawing.BarCodes.Code2of5Interleaved PdfSharp.Drawing.BarCodes.Code3of9Standard

Public Member Functions

 ThickThinBarCode (string code, XSize size, CodeDirection direction)
 Initializes a new instance of the ThickThinBarCode class. More...
 
- Public Member Functions inherited from PdfSharp.Drawing.BarCodes.BarCode
 BarCode (string text, XSize size, CodeDirection direction)
 Initializes a new instance of the BarCode class. More...
 
- Public Member Functions inherited from PdfSharp.Drawing.BarCodes.CodeBase
 CodeBase (string text, XSize size, CodeDirection direction)
 Initializes a new instance of the CodeBase class. More...
 

Properties

override double WideNarrowRatio [get, set]
 Gets or sets the ration between thick an thin lines. Must be between 2 and 3. Optimal and also default value is 2.6. More...
 
- Properties inherited from PdfSharp.Drawing.BarCodes.BarCode
virtual double WideNarrowRatio [get, set]
 When overridden in a derived class gets or sets the wide narrow ratio. More...
 
TextLocation TextLocation [get, set]
 Gets or sets the location of the text next to the bar code. More...
 
int DataLength [get, set]
 Gets or sets the length of the data that defines the bar code. More...
 
char StartChar [get, set]
 Gets or sets the optional start character. More...
 
char EndChar [get, set]
 Gets or sets the optional end character. More...
 
virtual bool TurboBit [get, set]
 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)) More...
 
- Properties inherited from PdfSharp.Drawing.BarCodes.CodeBase
XSize Size [get, set]
 Gets or sets the size. More...
 
string Text [get, set]
 Gets or sets the text the bar code shall represent. More...
 
AnchorType Anchor [get, set]
 Always MiddleCenter. More...
 
CodeDirection Direction [get, set]
 Gets or sets the drawing direction. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from PdfSharp.Drawing.BarCodes.BarCode
static BarCode FromType (CodeType type, string text, XSize size, CodeDirection direction)
 Creates a bar code from the specified code type. More...
 
static BarCode FromType (CodeType type, string text, XSize size)
 Creates a bar code from the specified code type. More...
 
static BarCode FromType (CodeType type, string text)
 Creates a bar code from the specified code type. More...
 
static BarCode FromType (CodeType type)
 Creates a bar code from the specified code type. More...
 
- Static Public Member Functions inherited from PdfSharp.Drawing.BarCodes.CodeBase
static XVector CalcDistance (AnchorType oldType, AnchorType newType, XSize size)
 Calculates the distance between an old anchor point and a new anchor point. More...
 
- Protected Member Functions inherited from PdfSharp.Drawing.BarCodes.CodeBase
abstract void CheckCode (string text)
 When implemented in a derived class, determines whether the specified string can be used as Text for this bar code type. More...
 

Detailed Description

Internal base class for several bar code types.

Constructor & Destructor Documentation

◆ ThickThinBarCode()

PdfSharp.Drawing.BarCodes.ThickThinBarCode.ThickThinBarCode ( string  code,
XSize  size,
CodeDirection  direction 
)

Initializes a new instance of the ThickThinBarCode class.

Property Documentation

◆ WideNarrowRatio

override double PdfSharp.Drawing.BarCodes.ThickThinBarCode.WideNarrowRatio
getset

Gets or sets the ration between thick an thin lines. Must be between 2 and 3. Optimal and also default value is 2.6.


The documentation for this class was generated from the following file: