Package com.stimulsoft.report.units
Class StiInchesUnit
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.report.units.StiUnit
com.stimulsoft.report.units.StiInchesUnit
- All Implemented Interfaces:
IStiSerializable,IStiSerializableRef
Report units - inches.
-
Field Summary
Fields inherited from class com.stimulsoft.report.units.StiUnit
Centimeters, HundredthsOfInch, Inches, MillimetersFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleConvertFromHInches(double value) Converts a value from hundredths of inch into units of this class.doubleConvertToHInches(double value) Converts a value from hundredths of inch into units of this class.doubleGets the ruler scale in hundredths of inch on the one step.doubleGets ruler step.Gets the shor unit name.toString()Methods inherited from class com.stimulsoft.report.units.StiUnit
clone, ConvertFromHInches, ConvertFromHInches, ConvertToHInches, ConvertToHInches, ConvertToHInchesStiRectangle, GetUnitFromReportUnit, LoadFromJsonObject, SaveToJsonObjectMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Constructor Details
-
StiInchesUnit
public StiInchesUnit()
-
-
Method Details
-
toString
-
getRollerStep
public double getRollerStep()Gets ruler step.- Specified by:
getRollerStepin classStiUnit
-
getFactor
public double getFactor()Gets the ruler scale in hundredths of inch on the one step. -
getShortName
Gets the shor unit name.- Specified by:
getShortNamein classStiUnit
-
ConvertToHInches
public double ConvertToHInches(double value) Converts a value from hundredths of inch into units of this class.- Specified by:
ConvertToHInchesin classStiUnit- Parameters:
value- Value for conversion.- Returns:
- Converted value.
-
ConvertFromHInches
public double ConvertFromHInches(double value) Converts a value from hundredths of inch into units of this class.- Specified by:
ConvertFromHInchesin classStiUnit- Parameters:
value- Value for conversion.- Returns:
- Converted value.
-