Packagestimulsoft.report.units
Classpublic class StiUnit
InheritanceStiUnit Inheritance StiObject Inheritance Object
Implements IStiSerializable, IStiRef
Subclasses StiCentimetersUnit, StiHundredthsOfInchUnit, StiInchesUnit, StiMillimetersUnit



Public Properties
 PropertyDefined By
  Centimeters : StiCentimetersUnit
[static] [read-only]
StiUnit
  factor : Number
[read-only]
StiUnit
  HundredthsOfInch : StiHundredthsOfInchUnit
[static] [read-only]
StiUnit
  Inches : StiInchesUnit
[static] [read-only]
StiUnit
  Millimeters : StiMillimetersUnit
[static] [read-only]
StiUnit
  name : String
[read-only]
StiUnit
  ref : int
StiUnit
  rulerStep : Number
[read-only]
StiUnit
  shortName : String
[read-only]
StiUnit
Public Methods
 MethodDefined By
  
StiUnit
 Inherited
clone(... args):Object
Creates a new object that is a copy of the current instance.
StiObject
  
convertFromHInches(value:Number):Number
StiUnit
  
StiUnit
  
StiUnit
  
StiUnit
  
StiUnit
  
convertToHInches(value:Number):Number
StiUnit
 Inherited
equals(object:Object):Boolean
StiObject
 Inherited
Get a short object type name (without library path).
StiObject
 Inherited
getType():Class
StiObject
 Inherited
getTypeName():String
StiObject
  
[static]
StiUnit
 Inherited
isSimple(object:*):Boolean
[static]
StiObject
 Inherited
Creates a shallow copy of the current Collection.
StiObject
Property Detail
Centimetersproperty
Centimeters:StiCentimetersUnit  [read-only]


Implementation
    public static function get Centimeters():StiCentimetersUnit
factorproperty 
factor:Number  [read-only]


Implementation
    public function get factor():Number
HundredthsOfInchproperty 
HundredthsOfInch:StiHundredthsOfInchUnit  [read-only]


Implementation
    public static function get HundredthsOfInch():StiHundredthsOfInchUnit
Inchesproperty 
Inches:StiInchesUnit  [read-only]


Implementation
    public static function get Inches():StiInchesUnit
Millimetersproperty 
Millimeters:StiMillimetersUnit  [read-only]


Implementation
    public static function get Millimeters():StiMillimetersUnit
nameproperty 
name:String  [read-only]


Implementation
    public function get name():String
refproperty 
ref:int


Implementation
    public function get ref():int
    public function set ref(value:int):void
rulerStepproperty 
rulerStep:Number  [read-only]


Implementation
    public function get rulerStep():Number
shortNameproperty 
shortName:String  [read-only]


Implementation
    public function get shortName():String
Constructor Detail
StiUnit()Constructor
public function StiUnit()



Method Detail
convertFromHInches()method
public function convertFromHInches(value:Number):Number

Parameters

value:Number

Returns
Number
convertRectangleFromHInches()method 
public function convertRectangleFromHInches(rect:StiRectangle):StiRectangle

Parameters

rect:StiRectangle

Returns
StiRectangle
convertRectangleToHInches()method 
public function convertRectangleToHInches(rect:StiRectangle):StiRectangle

Parameters

rect:StiRectangle

Returns
StiRectangle
convertSizeFromHInches()method 
public function convertSizeFromHInches(size:StiSize):StiSize

Parameters

size:StiSize

Returns
StiSize
convertSizeToHInches()method 
public function convertSizeToHInches(size:StiSize):StiSize

Parameters

size:StiSize

Returns
StiSize
convertToHInches()method 
public function convertToHInches(value:Number):Number

Parameters

value:Number

Returns
Number
getUnitFromReportUnit()method 
public static function getUnitFromReportUnit(reportUnit:int):StiUnit

Parameters

reportUnit:int

Returns
StiUnit