com.stimulsoft.report.barCodes
Class StiPostnetBarCodeType
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.barCodes.StiBarCodeTypeService
com.stimulsoft.report.barCodes.StiPostnetBarCodeType
- All Implemented Interfaces:
- IStiSerializable, IStiSerializableRef, java.lang.Cloneable
public class StiPostnetBarCodeType
- extends StiBarCodeTypeService
The class describes the Barcode type - Postnet.
| Methods inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService |
baseDrawRectangle, baseDrawString, baseFillEllipse, baseFillPolygon, baseFillRectangle, baseFillRectangle2D, baseMeasureString, baseRollbackTransform, baseTransform, CalculateSize2, CalculateSizeFull, CheckCodeSymbols, draw2DBarCode, drawBarCode, drawBarCodeError, drawBarCodeError, drawBars, drawMaxicode, getBarCodeData, GetCode, getCombinedCode, getExportPainter, getServiceCategory, getServiceType, GetSymbolsStringWidth, GetSymbolWidth, getTextAlignment, IsSymbolLong, IsSymbolPostDescend, IsSymbolSpace, LoadFromJsonObjectInternal, rollbackTransform, setExportPainter, toInts, toString, translateRect |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PostnetSymbols
protected java.lang.String PostnetSymbols
PostnetSpaceLeft
protected static final double PostnetSpaceLeft
- See Also:
- Constant Field Values
PostnetSpaceRight
protected static final double PostnetSpaceRight
- See Also:
- Constant Field Values
PostnetSpaceTop
protected static final double PostnetSpaceTop
- See Also:
- Constant Field Values
PostnetSpaceBottom
protected static final double PostnetSpaceBottom
- See Also:
- Constant Field Values
PostnetLineHeightLong
protected static final double PostnetLineHeightLong
- See Also:
- Constant Field Values
PostnetLineHeightShort
protected static final double PostnetLineHeightShort
- See Also:
- Constant Field Values
PostnetTextPosition
protected static final double PostnetTextPosition
- See Also:
- Constant Field Values
PostnetTextHeight
protected static final double PostnetTextHeight
- See Also:
- Constant Field Values
PostnetMainHeight
protected static final double PostnetMainHeight
- See Also:
- Constant Field Values
PostnetLineHeightForCut
protected static final double PostnetLineHeightForCut
- See Also:
- Constant Field Values
StiPostnetBarCodeType
public StiPostnetBarCodeType()
StiPostnetBarCodeType
public StiPostnetBarCodeType(double module,
double height,
double space)
getServiceName
public java.lang.String getServiceName()
- Gets a service name.
- Overrides:
getServiceName in class StiService
getModule
public double getModule()
- Gets or sets width of the most fine element of the bar code.
- Specified by:
getModule in class StiBarCodeTypeService
setModule
public void setModule(double value)
- Specified by:
setModule in class StiBarCodeTypeService
getSpace
public final double getSpace()
- Gets or sets space between elements of bar code.
setSpace
public final void setSpace(double value)
getHeight
public double getHeight()
- Gets os sets height factor of the bar code.
- Specified by:
getHeight in class StiBarCodeTypeService
setHeight
public void setHeight(double value)
- Specified by:
setHeight in class StiBarCodeTypeService
getLabelFontHeight
public double getLabelFontHeight()
- Specified by:
getLabelFontHeight in class StiBarCodeTypeService
draw
public void draw(StiGraphics context,
StiBarCode barCode,
StiRectangle rect,
double zoom)
throws java.lang.Exception
- Specified by:
draw in class StiBarCodeTypeService
- Throws:
java.lang.Exception
SaveToJsonObject
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
throws JSONException
- Overrides:
SaveToJsonObject in class StiBarCodeTypeService
- Throws:
JSONException
LoadFromJsonObject
public void LoadFromJsonObject(JSONObject jObject)
throws JSONException
- Specified by:
LoadFromJsonObject in class StiBarCodeTypeService
- Throws:
JSONException
getDefaultCodeValue
public java.lang.String getDefaultCodeValue()
- Specified by:
getDefaultCodeValue in class StiBarCodeTypeService
Copyright © 2018 Stimulsoft. All Rights Reserved.