Packagestimulsoft.report.barCodes
Classpublic class StiRoyalMail4StateBarCodeType
InheritanceStiRoyalMail4StateBarCodeType Inheritance StiBarCodeTypeService Inheritance StiService Inheritance StiObject Inheritance Object



Public Properties
 PropertyDefined By
  checkSum : int
Gets or sets mode of checksum.
StiRoyalMail4StateBarCodeType
  height : Number
[override] Gets os sets height factor of the bar code.
StiRoyalMail4StateBarCodeType
  labelFontHeight : Number
[override] [read-only]
StiRoyalMail4StateBarCodeType
  module : Number
[override] Gets or sets width of the most fine element of the bar code.
StiRoyalMail4StateBarCodeType
 Inheritedproperties : StiRepositoryItems
StiService
 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
  royalMail4StateSymbols : String = 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
StiRoyalMail4StateBarCodeType
  textAlignment : int
[override] [read-only]
StiRoyalMail4StateBarCodeType
Public Methods
 MethodDefined By
  
StiRoyalMail4StateBarCodeType(module:Number = 20, height:Number = 1, checkSum:int = 0)
StiRoyalMail4StateBarCodeType
 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.
StiRoyalMail4StateBarCodeType
  
equals(object:Object):Boolean
[override]
StiRoyalMail4StateBarCodeType
 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]
StiRoyalMail4StateBarCodeType
 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
  royalMail4StateLineHeightForCut : Number = 10
StiRoyalMail4StateBarCodeType
  royalMail4StateLineHeightLong : Number = 10
StiRoyalMail4StateBarCodeType
  royalMail4StateLineHeightShort : Number
StiRoyalMail4StateBarCodeType
  royalMail4StateMainHeight : Number = 24.8
StiRoyalMail4StateBarCodeType
  royalMail4StateSpaceBottom : Number = 3.9
StiRoyalMail4StateBarCodeType
  royalMail4StateSpaceLeft : Number = 3.9
StiRoyalMail4StateBarCodeType
  royalMail4StateSpaceRight : Number = 3.9
StiRoyalMail4StateBarCodeType
  royalMail4StateSpaceTop : Number = 3.9
StiRoyalMail4StateBarCodeType
  royalMail4StateTextHeight : Number = 5
StiRoyalMail4StateBarCodeType
  royalMail4StateTextPosition : Number = 18.8
StiRoyalMail4StateBarCodeType
Property Detail
checkSumproperty
checkSum:int

Gets or sets mode of checksum.


Implementation
    public function get checkSum():int
    public function set checkSum(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
royalMail4StateSymbolsproperty 
protected var royalMail4StateSymbols:String = 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ

textAlignmentproperty 
textAlignment:int  [read-only] [override]


Implementation
    protected function get textAlignment():int
Constructor Detail
StiRoyalMail4StateBarCodeType()Constructor
public function StiRoyalMail4StateBarCodeType(module:Number = 20, height:Number = 1, checkSum:int = 0)



Parameters
module:Number (default = 20)
 
height:Number (default = 1)
 
checkSum:int (default = 0)
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
Constant Detail
royalMail4StateLineHeightForCutConstant
protected const royalMail4StateLineHeightForCut:Number = 10

royalMail4StateLineHeightLongConstant 
protected const royalMail4StateLineHeightLong:Number = 10

royalMail4StateLineHeightShortConstant 
protected const royalMail4StateLineHeightShort:Number

royalMail4StateMainHeightConstant 
protected const royalMail4StateMainHeight:Number = 24.8

royalMail4StateSpaceBottomConstant 
protected const royalMail4StateSpaceBottom:Number = 3.9

royalMail4StateSpaceLeftConstant 
protected const royalMail4StateSpaceLeft:Number = 3.9

royalMail4StateSpaceRightConstant 
protected const royalMail4StateSpaceRight:Number = 3.9

royalMail4StateSpaceTopConstant 
protected const royalMail4StateSpaceTop:Number = 3.9

royalMail4StateTextHeightConstant 
protected const royalMail4StateTextHeight:Number = 5

royalMail4StateTextPositionConstant 
protected const royalMail4StateTextPosition:Number = 18.8