Packagestimulsoft.report.barCodes
Classpublic class StiPdf417BarCodeType
InheritanceStiPdf417BarCodeType Inheritance StiBarCodeTypeService Inheritance StiService Inheritance StiObject Inheritance Object



Public Properties
 PropertyDefined By
  aspectRatio : Number
Gets or sets value, which set aspect ratio between horizontal and vertical sides of bar code.
StiPdf417BarCodeType
  autoDataColumns : Boolean
Gets or sets value which indicates that amount of columns will be calculated automatically.
StiPdf417BarCodeType
  autoDataRows : Boolean
Gets or sets value which indicates that amount of rows will be calculated automatically.
StiPdf417BarCodeType
  dataColumns : int
Gets or sets amount of data columns.
StiPdf417BarCodeType
  dataRows : int
Gets or sets amound of data rows.
StiPdf417BarCodeType
  encodingMode : int
Gets or sets type of encoding type.
StiPdf417BarCodeType
  errorsCorrectionLevel : int
Gets or sets errors correction level.
StiPdf417BarCodeType
  height : Number
[override] Gets os sets height factor of the bar code.
StiPdf417BarCodeType
  labelFontHeight : Number
[override] [read-only]
StiPdf417BarCodeType
  module : Number
[override] Gets or sets width of the most fine element of the bar code.
StiPdf417BarCodeType
 Inheritedproperties : StiRepositoryItems
StiService
  ratioY : int
Gets or sets vertical ratio of bar code.
StiPdf417BarCodeType
 Inheritedref : int
StiBarCodeTypeService
 InheritedserviceCategory : String
[read-only] Gets a service category.
StiService
 InheritedserviceInfo : String
[read-only] Gets a service description.
StiService
 InheritedserviceName : String
[read-only] Gets a service name.
StiService
 InheritedserviceType : Class
[read-only] Gets a service type.
StiService
Protected Properties
 PropertyDefined By
 InheritedbarCodeData : StiBarCodeData
[read-only]
StiBarCodeTypeService
 InheritedrectWindow : StiRectangle
StiBarCodeTypeService
 InheritedtextAlignment : int
[read-only]
StiBarCodeTypeService
Public Methods
 MethodDefined By
  
StiPdf417BarCodeType(module:Number = 25, encodingMode:int = 0, errorsCorrectionLevel:int = -1, dataColumns:int = 5, dataRows:int = 3, autoDataColumns:Boolean = true, autoDataRows:Boolean = true, aspectRatio:Number = 1, ratioY:int = 3)
StiPdf417BarCodeType
 Inherited
clone(... args):Object
[override] Creates a new object that is a copy of the current instance.
StiService
  
draw(g:StiGraphics, barCode:StiBarCode, rect:StiRectangle, zoom:Number):void
[override] Draws the bar code with the specified parameters.
StiPdf417BarCodeType
  
equals(object:Object):Boolean
[override]
StiPdf417BarCodeType
 Inherited
getCode(barCode:IStiBarCode):String
Returns string of char - input data for calculation of bar code.
StiBarCodeTypeService
 Inherited
Get a short object type name (without library path).
StiObject
 Inherited
getType():Class
StiObject
 Inherited
getTypeName():String
StiObject
 Inherited
isSimple(object:*):Boolean
[static]
StiObject
  
[override]
StiPdf417BarCodeType
 Inherited
StiService
Protected Methods
 MethodDefined By
 Inherited
baseDrawRectangle(g:StiGraphics, penColor:StiColor, penSize:Number, x:Number, y:Number, width:Number, height:Number):void
StiBarCodeTypeService
 Inherited
baseDrawString(g:StiGraphics, st:String, font:StiFont, brush:StiBrush, x:Number, y:Number):void
StiBarCodeTypeService
 Inherited
baseDrawStringRect(g:StiGraphics, st:String, font:StiFont, brush:StiBrush, rect:StiRectangle):void
StiBarCodeTypeService
 Inherited
baseFillRectangle(g:StiGraphics, brush:StiBrush, x:Number, y:Number, width:Number, height:Number):void
StiBarCodeTypeService
 Inherited
baseFillRectangle2D(g:StiGraphics, brush:StiBrush, x:Number, y:Number, width:Number, height:Number):void
StiBarCodeTypeService
 Inherited
StiBarCodeTypeService
 Inherited
StiBarCodeTypeService
 Inherited
baseTransform(g:StiGraphics, x:Number, y:Number, angle:Number, dx:Number, dy:Number):void
StiBarCodeTypeService
 Inherited
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:StiRectangle, barCode:StiBarCode):void
StiBarCodeTypeService
 Inherited
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:StiRectangle, barCode:StiBarCode):void
StiBarCodeTypeService
 Inherited
checkCodeSymbols(inputCode:String, tolerantSymbols:String):String
Remove from string all undefined symbols.
StiBarCodeTypeService
 Inherited
draw2DBarCode(g:StiGraphics, rect:StiRectangle, barCode:StiBarCode, zoom:Number):void
StiBarCodeTypeService
 Inherited
Draws bar code.
StiBarCodeTypeService
 Inherited
drawBarCodeError(g:StiGraphics, rect:StiRectangle, barCode:StiBarCode, message:String = null):void
StiBarCodeTypeService
 Inherited
drawBars(g:StiGraphics, sym:String, foreBrush:StiBrush):void
Draws content of bar code.
StiBarCodeTypeService
 Inherited
getSymbolsStringWidth(symbolsString:String):Number
Returns width of string in modules.
StiBarCodeTypeService
 Inherited
getSymbolWidth(symbol:String):Number
Returns width of one symbol in module.
StiBarCodeTypeService
 Inherited
IsSymbolLong(symbol:String):Boolean
Returns true if one line is long.
StiBarCodeTypeService
 Inherited
isSymbolPostDescend(symbol:String):Boolean
Returns true if short line is post-descend
StiBarCodeTypeService
 Inherited
isSymbolSpace(symbol:String):Boolean
Returns true is char is space.
StiBarCodeTypeService
 Inherited
StiBarCodeTypeService
 Inherited
Translate coordinates using vertical and horizontal justify
StiBarCodeTypeService
Protected Constants
 ConstantDefined By
 InheriteddefaultLabelFontHeight : Number = 8
StiBarCodeTypeService
Property Detail
aspectRatioproperty
aspectRatio:Number

Gets or sets value, which set aspect ratio between horizontal and vertical sides of bar code.


Implementation
    public function get aspectRatio():Number
    public function set aspectRatio(value:Number):void
autoDataColumnsproperty 
autoDataColumns:Boolean

Gets or sets value which indicates that amount of columns will be calculated automatically.


Implementation
    public function get autoDataColumns():Boolean
    public function set autoDataColumns(value:Boolean):void
autoDataRowsproperty 
autoDataRows:Boolean

Gets or sets value which indicates that amount of rows will be calculated automatically.


Implementation
    public function get autoDataRows():Boolean
    public function set autoDataRows(value:Boolean):void
dataColumnsproperty 
dataColumns:int

Gets or sets amount of data columns.


Implementation
    public function get dataColumns():int
    public function set dataColumns(value:int):void
dataRowsproperty 
dataRows:int

Gets or sets amound of data rows.


Implementation
    public function get dataRows():int
    public function set dataRows(value:int):void
encodingModeproperty 
encodingMode:int

Gets or sets type of encoding type.


Implementation
    public function get encodingMode():int
    public function set encodingMode(value:int):void
errorsCorrectionLevelproperty 
errorsCorrectionLevel:int

Gets or sets errors correction level. The higher level is the more information is added to bar code for restoring.


Implementation
    public function get errorsCorrectionLevel():int
    public function set errorsCorrectionLevel(value:int):void
heightproperty 
height:Number[override]

Gets os sets height factor of the bar code.


Implementation
    public function get height():Number
    public function set height(value:Number):void
labelFontHeightproperty 
labelFontHeight:Number  [read-only] [override]


Implementation
    public function get labelFontHeight():Number
moduleproperty 
module:Number[override]

Gets or sets width of the most fine element of the bar code.


Implementation
    public function get module():Number
    public function set module(value:Number):void
ratioYproperty 
ratioY:int

Gets or sets vertical ratio of bar code. Value must between 2 and 5.


Implementation
    public function get ratioY():int
    public function set ratioY(value:int):void
Constructor Detail
StiPdf417BarCodeType()Constructor
public function StiPdf417BarCodeType(module:Number = 25, encodingMode:int = 0, errorsCorrectionLevel:int = -1, dataColumns:int = 5, dataRows:int = 3, autoDataColumns:Boolean = true, autoDataRows:Boolean = true, aspectRatio:Number = 1, ratioY:int = 3)



Parameters
module:Number (default = 25)
 
encodingMode:int (default = 0)
 
errorsCorrectionLevel:int (default = -1)
 
dataColumns:int (default = 5)
 
dataRows:int (default = 3)
 
autoDataColumns:Boolean (default = true)
 
autoDataRows:Boolean (default = true)
 
aspectRatio:Number (default = 1)
 
ratioY:int (default = 3)
Method Detail
draw()method
override public function draw(g:StiGraphics, barCode:StiBarCode, rect:StiRectangle, zoom:Number):void

Draws the bar code with the specified parameters.

Parameters

g:StiGraphics
 
barCode:StiBarCode
 
rect:StiRectangle
 
zoom:Number

equals()method 
override public function equals(object:Object):Boolean

Parameters

object:Object

Returns
Boolean
memberwiseClone()method 
override public function memberwiseClone():Object

Returns
Object