Skip to main content
Skip table of contents

BarcodePDF417 (1)

BarcodePDF417 Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf
  iTextSharp.text.pdf.BarcodePDF417[[BarcodePDF417]]
  end

Members

Properties

Public properties
TypeNameMethods
floatAspectRatioget, set
intBitColumnsget
intCodeColumnsget, set
intCodeRowsget, set
int``[]Codewordsget
intErrorLevelget, set
intLenCodewordsget, set
stringMacroFileIdset
intMacroSegmentCountset
intMacroSegmentIdset
intOptionsget, set
byte``[]OutBitsget
byte``[]Textget, set
floatYHeightget, set

Methods

Protected methods
ReturnsName
voidAssemble()
voidBasicNumberCompaction(int start, int length)
voidByteCompaction6(int start)
voidCalculateErrorCorrection(int dest)
boolCheckSegmentType(Segment segment, char type)
voidDumpList()
intGetMaxSquare()
intGetSegmentLength(Segment segment)
intGetTextTypeAndValue(int maxLength, int idx)
voidNumberCompaction(int start, int length)
voidOutCodeword(int codeword)
voidOutCodeword17(int codeword)
voidOutCodeword18(int codeword)
voidOutPaintCode()
voidOutStartPattern()
voidOutStopPattern()
voidTextCompaction(int start, int length)
Public methods
ReturnsName
ImageCreateDrawingImage(Color foreground, Color background)
RectangleGetBarcodeSize()
ImageGetImage()
voidPaintCode()
voidPlaceBarcode(PdfContentByte cb, BaseColor foreground, float moduleHeight, float moduleWidth)
voidSetDefaultParameters()
voidSetText(string s)
Internal methods
ReturnsName
voidBreakString()
voidByteCompaction(int start, int length)
Protected Static methods
ReturnsName
intMaxPossibleErrorLevel(int remain)

Details

Nested types

Classes
  • Segment
  • SegmentList

Constructors

BarcodePDF417

Source code

public BarcodePDF417()

Methods

CheckSegmentType

Source code

protected virtual bool CheckSegmentType(Segment segment, char type)
Arguments
TypeNameDescription
Segmentsegment
chartype
GetSegmentLength

Source code

protected virtual int GetSegmentLength(Segment segment)
Arguments
TypeNameDescription
Segmentsegment
SetDefaultParameters

Source code

public virtual void SetDefaultParameters()
OutCodeword17

Source code

protected virtual void OutCodeword17(int codeword)
Arguments
TypeNameDescription
intcodeword
OutCodeword18

Source code

protected virtual void OutCodeword18(int codeword)
Arguments
TypeNameDescription
intcodeword
OutCodeword

Source code

protected virtual void OutCodeword(int codeword)
Arguments
TypeNameDescription
intcodeword
OutStopPattern

Source code

protected virtual void OutStopPattern()
OutStartPattern

Source code

protected virtual void OutStartPattern()
OutPaintCode

Source code

protected virtual void OutPaintCode()
CalculateErrorCorrection

Source code

protected virtual void CalculateErrorCorrection(int dest)
Arguments
TypeNameDescription
intdest
GetTextTypeAndValue

Source code

protected virtual int GetTextTypeAndValue(int maxLength, int idx)
Arguments
TypeNameDescription
intmaxLength
intidx
TextCompaction

Source code

protected virtual void TextCompaction(int start, int length)
Arguments
TypeNameDescription
intstart
intlength
BasicNumberCompaction

Source code

protected virtual void BasicNumberCompaction(int start, int length)
Arguments
TypeNameDescription
intstart
intlength
NumberCompaction

Source code

protected virtual void NumberCompaction(int start, int length)
Arguments
TypeNameDescription
intstart
intlength
ByteCompaction6

Source code

protected virtual void ByteCompaction6(int start)
Arguments
TypeNameDescription
intstart
ByteCompaction

Source code

internal void ByteCompaction(int start, int length)
Arguments
TypeNameDescription
intstart
intlength
BreakString

Source code

internal void BreakString()
Assemble

Source code

protected virtual void Assemble()
MaxPossibleErrorLevel

Source code

protected static int MaxPossibleErrorLevel(int remain)
Arguments
TypeNameDescription
intremain
DumpList

Source code

protected virtual void DumpList()
GetMaxSquare

Source code

protected virtual int GetMaxSquare()
PaintCode

Source code

public virtual void PaintCode()
GetImage

Source code

public virtual Image GetImage()
CreateDrawingImage

Source code

public virtual Image CreateDrawingImage(Color foreground, Color background)
Arguments
TypeNameDescription
Colorforeground
Colorbackground
SetText

Source code

public virtual void SetText(string s)
Arguments
TypeNameDescription
strings
PlaceBarcode

Source code

public virtual void PlaceBarcode(PdfContentByte cb, BaseColor foreground, float moduleHeight, float moduleWidth)
Arguments
TypeNameDescription
PdfContentBytecb
BaseColorforeground
floatmoduleHeight
floatmoduleWidth
GetBarcodeSize

Source code

public virtual Rectangle GetBarcodeSize()

Properties

MacroSegmentId
public virtual int MacroSegmentId { set; }
MacroSegmentCount
public virtual int MacroSegmentCount { set; }
MacroFileId
public virtual string MacroFileId { set; }
OutBits
public virtual byte OutBits { get; }
BitColumns
public virtual int BitColumns { get; }
CodeRows
public virtual int CodeRows { get; set; }
CodeColumns
public virtual int CodeColumns { get; set; }
Codewords
public virtual int Codewords { get; }
LenCodewords
public virtual int LenCodewords { get; set; }
ErrorLevel
public virtual int ErrorLevel { get; set; }
Text
public virtual byte Text { get; set; }
Options
public virtual int Options { get; set; }
AspectRatio
public virtual float AspectRatio { get; set; }
YHeight
public virtual float YHeight { get; set; }

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.