public class StiCodabarBarCodeType extends StiBarCodeTypeService
StiBarCodeTypeService.StiBarCodeData, StiBarCodeTypeService.ValueObject| Modifier and Type | Field and Description |
|---|---|
protected static double |
CodabarLineHeightForCut |
protected static double |
CodabarLineHeightLong |
protected static double |
CodabarLineHeightShort |
protected static double |
CodabarMainHeight |
protected static double |
CodabarSpaceBottom |
protected static double |
CodabarSpaceLeft |
protected static double |
CodabarSpaceRight |
protected static double |
CodabarSpaceTop |
protected static double |
CodabarTextHeight |
protected static double |
CodabarTextPosition |
DefaultLabelFontHeight, RectWindow, visiblePropertiesCountpropertiesREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiCodabarBarCodeType() |
StiCodabarBarCodeType(double module,
double height,
double ratio) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
CodeToBar(java.lang.String inputCode) |
void |
draw(StiGraphics context,
StiBarCode barCode,
StiRectangle rect,
double zoom) |
java.lang.String |
getDefaultCodeValue() |
double |
getHeight()
Gets os sets height factor of the bar code.
|
double |
getLabelFontHeight() |
double |
getModule()
Gets or sets width of the most fine element of the bar code.
|
double |
getRatio()
Get or sets value, which indicates WideToNarrow ratio.
|
java.lang.String |
getServiceName()
Gets a service name.
|
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setHeight(double value) |
void |
setModule(double value) |
void |
setRatio(double value) |
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, translateRectclone, getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabledcleanReference, getReference, setReferenceprotected static final double CodabarSpaceLeft
protected static final double CodabarSpaceRight
protected static final double CodabarSpaceTop
protected static final double CodabarSpaceBottom
protected static final double CodabarLineHeightShort
protected static final double CodabarLineHeightLong
protected static final double CodabarTextPosition
protected static final double CodabarTextHeight
protected static final double CodabarMainHeight
protected static final double CodabarLineHeightForCut
public StiCodabarBarCodeType()
public StiCodabarBarCodeType(double module,
double height,
double ratio)
public java.lang.String getServiceName()
getServiceName in class StiServicepublic double getModule()
getModule in class StiBarCodeTypeServicepublic void setModule(double value)
setModule in class StiBarCodeTypeServicepublic double getHeight()
getHeight in class StiBarCodeTypeServicepublic void setHeight(double value)
setHeight in class StiBarCodeTypeServicepublic final double getRatio()
public final void setRatio(double value)
public double getLabelFontHeight()
getLabelFontHeight in class StiBarCodeTypeServiceprotected final java.lang.String CodeToBar(java.lang.String inputCode)
public void draw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) throws java.lang.Exception
draw in class StiBarCodeTypeServicejava.lang.Exceptionpublic JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in class StiBarCodeTypeServiceJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in class StiBarCodeTypeServiceJSONExceptionpublic java.lang.String getDefaultCodeValue()
getDefaultCodeValue in class StiBarCodeTypeServiceCopyright © 2019 Stimulsoft. All Rights Reserved.