Class StiCode39ExtBarCodeType

Hierarchy

Implements

Index

Constructors

constructor

Properties

barCodeData

barCodeData: StiBarCodeData = new StiBarCodeData()

checkSum

checkSum: StiCheckSum = StiCheckSum.Yes

Protected code39ExtTable

code39ExtTable: string[] = ["%U", "$A", "$B", "$C", "$D", "$E", "$F", "$G","$H", "$I", "$J", "$K", "$L", "$M", "$N", "$O","$P", "$Q", "$R", "$S", "$T", "$U", "$V", "$W","$X", "$Y", "$Z", "%A", "%B", "%C", "%D", "%E"," ", "/A", "/B", "/C", "/D", "/E", "/F", "/G","/H", "/I", "/J", "/K", "/L", "-", ".", "/O","0", "1", "2", "3", "4", "5", "6", "7","8", "9", "/Z", "%F", "%G", "%H", "%I", "%J","%V", "A", "B", "C", "D", "E", "F", "G","H", "I", "J", "K", "L", "M", "N", "O","P", "Q", "R", "S", "T", "U", "V", "W","X", "Y", "Z", "%K", "%L", "%M", "%N", "%O","%W", "+A", "+B", "+C", "+D", "+E", "+F", "+G","+H", "+I", "+J", "+K", "+L", "+M", "+N", "+O","+P", "+Q", "+R", "+S", "+T", "+U", "+V", "+W","+X", "+Y", "+Z", "%P", "%Q", "%R", "%S", "%T"]

code39LineHeightForCut

code39LineHeightForCut: number = this.code39LineHeightShort

code39LineHeightLong

code39LineHeightLong: number = this.code39LineHeightShort

code39LineHeightShort

code39LineHeightShort: number = 45

code39MainHeight

code39MainHeight: number = 55

code39SpaceBottom

code39SpaceBottom: number = 1

code39SpaceLeft

code39SpaceLeft: number = 10

code39SpaceRight

code39SpaceRight: number = 10

code39SpaceTop

code39SpaceTop: number = 0

code39StartStopSymbolIndex

code39StartStopSymbolIndex: number = 43

code39Symbols

code39Symbols: string = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%"

code39Table

code39Table: string[] = ["1112212111", // 0"2112111121", // 1"1122111121", // 2"2122111111", // 3"1112211121", // 4"2112211111", // 5"1122211111", // 6"1112112121", // 7"2112112111", // 8"1122112111", // 9"2111121121", // A"1121121121","2121121111","1111221121","2111221111","1121221111","1111122121","2111122111","1121122111","1111222111","2111111221","1121111221","2121111211","1111211221","2111211211","1121211211","1111112221","2111112211","1121112211","1111212211","2211111121","1221111121","2221111111","1211211121","2211211111","1221211111", // Z"1211112121", // -"2211112111", // ."1221112111", //"1212121111", // $"1212111211", // /"1211121211", // +"1112121211", // %"1211212111" // * start/stop symbol only]

code39TextHeight

code39TextHeight: number = 8.33

code39TextPosition

code39TextPosition: number = this.code39LineHeightShort + this.code39SpaceBottom

customPainter

customPainter: IStiBarCodePainter

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

ratio

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

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

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

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