Hierarchy

Implements

Index

Constructors

constructor

Properties

barCodeData

barCodeData: StiBarCodeData = new StiBarCodeData()

checksum

checksum: StiCode11CheckSum = StiCode11CheckSum.Auto

code11LineHeightForCut

code11LineHeightForCut: number = this.code11LineHeightShort

code11LineHeightLong

code11LineHeightLong: number = this.code11LineHeightShort

code11LineHeightShort

code11LineHeightShort: number = 40

code11MainHeight

code11MainHeight: number = 50

code11SpaceBottom

code11SpaceBottom: number = 1

code11SpaceLeft

code11SpaceLeft: number = 5

code11SpaceRight

code11SpaceRight: number = 5

code11SpaceTop

code11SpaceTop: number = 0

code11StartStopSymbolIndex

code11StartStopSymbolIndex: number = 11

code11Symbols

code11Symbols: string = "0123456789-"

code11Table

code11Table: string[] = ["40405", // 0"50405", // 1"41405", // 2"51404", // 3"40505", // 4"50504", // 5"41504", // 6"40415", // 7"50414", // 8"50404", // 9"40504", // -"40514" // start/stop symbol only]

code11TextHeight

code11TextHeight: number = 8

code11TextPosition

code11TextPosition: number = this.code11LineHeightShort + this.code11SpaceBottom

customPainter

customPainter: IStiBarCodePainter

defaultCode11Module

defaultCode11Module: number = 8

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

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