Class StiEAN128AutoBarCodeType

Hierarchy

Implements

Index

Constructors

constructor

Properties

barCodeData

barCodeData: StiBarCodeData = new StiBarCodeData()

Protected code128LineHeightForCut

code128LineHeightForCut: number = this.code128LineHeightShort

Protected code128LineHeightLong

code128LineHeightLong: number = this.code128LineHeightShort

Protected code128LineHeightShort

code128LineHeightShort: number = 45

Protected code128MainHeight

code128MainHeight: number = 55

Protected code128SpaceBottom

code128SpaceBottom: number = 1

Protected code128SpaceLeft

code128SpaceLeft: number = 10

Protected code128SpaceRight

code128SpaceRight: number = 10

Protected code128SpaceTop

code128SpaceTop: number = 0

Protected code128Table

code128Table: string[] = ["212222","222122","222221","121223","121322","131222","122213","122312","132212","221213","221312","231212","112232","122132","122231","113222","123122","123221","223211","221132","221231","213212","223112","312131","311222","321122","321221","312212","322112","322211","212123","212321","232121","111323","131123","131321","112313","132113","132311","211313","231113","231311","112133","112331","132131","113123","113321","133121","313121","211331","231131","213113","213311","213131","311123","311321","331121","312113","312311","332111","314111","221411","431111","111224","111422","121124","121421","141122","141221","112214","112412","122114","122411","142112","142211","241211","221114","413111","241112","134111","111242","121142","121241","114212","124112","124211","411212","421112","421211","212141","214121","412121","111143","111341","131141","114113","114311","411113","411311","113141","114131","311141","411131","211412","211214","211232","2331112"]

Protected code128TextHeight

code128TextHeight: number = 8.33

Protected code128TextPosition

code128TextPosition: number = this.code128LineHeightShort + this.code128SpaceBottom

customPainter

customPainter: IStiBarCodePainter

Protected defaultCodeSetAB

defaultCodeSetAB: CodeSet = CodeSet.B

Protected defaultLabelFontHeight

defaultLabelFontHeight: number = 8

Protected preserveAspectRatio

preserveAspectRatio: boolean = false

Protected rectWindow

rectWindow: RectangleD = new RectangleD(0, 0, 0, 0)

Protected textSpacing

textSpacing: boolean = true

visiblePropertiesCount

visiblePropertiesCount: number = 27

Accessors

defaultCodeValue

  • get defaultCodeValue(): string

height

  • get height(): number
  • set height(value: number): void

labelFontHeight

  • get labelFontHeight(): number

mainHeight

  • get mainHeight(): number

mainWidth

  • get mainWidth(): number

module

  • get module(): number
  • set module(value: number): void

properties

serviceCategory

  • get serviceCategory(): string

serviceEnabled

  • get serviceEnabled(): boolean
  • set serviceEnabled(value: boolean): void
  • Gets or sets the value whether a service is enabled or not.

    Returns boolean

  • Gets or sets the value whether a service is enabled or not.

    Parameters

    • value: boolean

    Returns void

serviceInfo

  • get serviceInfo(): string

serviceName

  • get serviceName(): string

serviceType

  • get serviceType(): Type

Protected textAlignment

visibleProperties

  • get visibleProperties(): boolean[]

Methods

as

Protected baseDrawImage

  • baseDrawImage(context: any, image: Image, report: StiReport, x: number, y: number, width: number, height: number): void

Protected baseDrawRectangle

  • baseDrawRectangle(context: any, penColor: Color, penSize: number, x: number, y: number, width: number, height: number): void

Protected baseDrawString

  • baseDrawString(context: any, st: string, font: Font, brush: StiBrush, x: number, y: number): void

Protected baseDrawString2

Protected baseFillEllipse

  • baseFillEllipse(context: any, brush: StiBrush, x: number, y: number, width: number, height: number): void

Protected baseFillPolygon

  • baseFillPolygon(context: any, brush: StiBrush, points: PointD[]): void

Protected baseFillPolygons

baseFillRectangle

  • baseFillRectangle(context: any, brush: StiBrush, x: number, y: number, width: number, height: number): void

Protected baseFillRectangle2D

  • baseFillRectangle2D(context: any, brush: StiBrush, x: number, y: number, width: number, height: number): void

Protected baseMeasureString3

  • baseMeasureString3(context: any, st: string, font: Font): SizeD

Protected baseRollbackTransform

  • baseRollbackTransform(context: any): void

Protected baseTransform

  • baseTransform(context: any, x: number, y: number, angle: number, dx: number, dy: number): void

Protected calculateSize2

  • calculateSize2(spaceLeft: number, spaceRight: number, spaceTop: number, spaceBottom: number, lineHeightShort: number, lineHeightLong: number, textPosition: number, textHeight: number, mainHeight: number, wideToNarrowRatio: number, zoom: number, barsArray: string, rect: RectangleD, barCode: StiBarCode): void
  • Parameters

    • spaceLeft: number
    • spaceRight: number
    • spaceTop: number
    • spaceBottom: number
    • lineHeightShort: number
    • lineHeightLong: number
    • textPosition: number
    • textHeight: number
    • mainHeight: number
    • wideToNarrowRatio: number
    • zoom: number
    • barsArray: string
    • rect: RectangleD
    • barCode: StiBarCode

    Returns void

Protected calculateSizeFull

  • calculateSizeFull(spaceLeft: number, spaceRight: number, spaceTop: number, spaceBottom: number, lineHeightShort: number, lineHeightLong: number, TextPosition: number, TextHeight: number, mainHeight: number, lineHeightForCut: number, wideToNarrowRatio: number, zoom: number, code: string, textString: string, barsArray: string, rect: RectangleD, barCode: StiBarCode): void
  • Parameters

    • spaceLeft: number
    • spaceRight: number
    • spaceTop: number
    • spaceBottom: number
    • lineHeightShort: number
    • lineHeightLong: number
    • TextPosition: number
    • TextHeight: number
    • mainHeight: number
    • lineHeightForCut: number
    • wideToNarrowRatio: number
    • zoom: number
    • code: string
    • textString: string
    • barsArray: string
    • rect: RectangleD
    • barCode: StiBarCode

    Returns void

Protected checkCodeSymbols

  • checkCodeSymbols(inputCode: string, tolerantSymbols: string): string

clone

  • clone(cloneProperties?: boolean, cloneComponents?: boolean, base?: boolean): any
  • Creates a new object that is a copy of the current instance.

    Parameters

    • Default value cloneProperties: boolean = true
    • Default value cloneComponents: boolean = true
    • Default value base: boolean = true

    Returns any

Protected codeToBar

  • codeToBar(inputCode: string): string

draw

Protected draw2DBarCode

Protected drawBarCode

Protected drawBarCode1

Protected drawBarCodeError

Protected drawBarCodeError2

Protected drawBars

  • drawBars(context: any, sym: string, foreBrush: StiBrush): void

Protected drawMaxicode

Protected encodeAuto

  • encodeAuto(inputText: string, encodeAsEan: boolean): string

getCode

getCombinedCode

  • getCombinedCode(): string

getNetTypeName

  • getNetTypeName(): string

Protected getSymbolWidth

  • getSymbolWidth(symbol: string): number

Protected getSymbolsStringWidth

  • getSymbolsStringWidth(symbolsString: string): number

implements

  • implements(): any[]

is

is2

  • is2<T>(type: object | Interface<T>): boolean

Protected isPropertiesInitializedProtected

  • isPropertiesInitializedProtected(): boolean

isPropertyPresent

  • isPropertyPresent(key: any): boolean

Protected isSymbolLong

  • isSymbolLong(symbol: string): boolean

Protected isSymbolPostDescend

  • isSymbolPostDescend(symbol: string): boolean

Protected isSymbolSpace

  • isSymbolSpace(symbol: string): boolean

loadFromJsonObject

  • loadFromJsonObject(j: StiJson): void

loadFromXml

memberwiseClone

meta

Protected rollbackTransform

  • rollbackTransform(context: any): void

saveToJsonObject

Protected translateRect

Static loadFromJsonObjectInternal

Static loadFromXmlInternal

Static unpackTilde

  • unpackTilde(input: number[], processTilde: boolean): number[]

Static unpackTildeString

  • unpackTildeString(input: string, processTilde: boolean): string

Generated using TypeDoc