Skip to main content
Skip table of contents

Barcode

Barcode Public class

Diagram

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

Members

Properties

Public properties
TypeNameMethods
stringAltTextget, set
floatBarHeightget, set
RectangleBarcodeSizeget
floatBaselineget, set
boolChecksumTextget, set
stringCodeget, set
intCodeTypeget, set
boolExtendedget, set
BaseFontFontget, set
boolGenerateChecksumget, set
boolGuardBarsget, set
floatInkSpreadingget, set
floatNget, set
floatSizeget, set
boolStartStopTextget, set
intTextAlignmentget, set
floatXget, set

Methods

Public methods
ReturnsName
ImageCreateDrawingImage(Color foreground, Color background)
ImageCreateImageWithBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
PdfTemplateCreateTemplateWithBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
RectanglePlaceBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)

Details

Constructors

Barcode

Source code

protected Barcode()

Methods

PlaceBarcode
public abstract Rectangle PlaceBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Arguments
TypeNameDescription
PdfContentBytecb
BaseColorbarColor
BaseColortextColor
CreateTemplateWithBarcode

Source code

public virtual PdfTemplate CreateTemplateWithBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Arguments
TypeNameDescription
PdfContentBytecb
BaseColorbarColor
BaseColortextColor
CreateImageWithBarcode

Source code

public virtual Image CreateImageWithBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Arguments
TypeNameDescription
PdfContentBytecb
BaseColorbarColor
BaseColortextColor
CreateDrawingImage
public abstract Image CreateDrawingImage(Color foreground, Color background)
Arguments
TypeNameDescription
Colorforeground
Colorbackground

Properties

X
public virtual float X { get; set; }
N
public virtual float N { get; set; }
Font
public virtual BaseFont Font { get; set; }
Size
public virtual float Size { get; set; }
Baseline
public virtual float Baseline { get; set; }
BarHeight
public virtual float BarHeight { get; set; }
TextAlignment
public virtual int TextAlignment { get; set; }
GenerateChecksum
public virtual bool GenerateChecksum { get; set; }
ChecksumText
public virtual bool ChecksumText { get; set; }
StartStopText
public virtual bool StartStopText { get; set; }
Extended
public virtual bool Extended { get; set; }
Code
public virtual string Code { get; set; }
GuardBars
public virtual bool GuardBars { get; set; }
CodeType
public virtual int CodeType { get; set; }
BarcodeSize
public abstract Rectangle BarcodeSize { get; }
InkSpreading
public virtual float InkSpreading { get; set; }
AltText
public virtual string AltText { 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.