Package com.stimulsoft.report.barCodes
Class StiPdf417BarCodeType
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.barCodes.StiBarCodeTypeService
com.stimulsoft.report.barCodes.StiPdf417BarCodeType
- All Implemented Interfaces:
IStiSerializable,IStiSerializableRef,Cloneable
The class describes the Barcode type - Pdf417.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classprotected static classNested classes/interfaces inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
StiBarCodeTypeService.BarcodeCommandCode, StiBarCodeTypeService.StiBarCodeData, StiBarCodeTypeService.ValueObject -
Field Summary
Fields inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
DefaultLabelFontHeight, RectWindow, visiblePropertiesCountFields inherited from class com.stimulsoft.base.services.StiService
propertiesFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
ConstructorsConstructorDescriptionStiPdf417BarCodeType(double module, StiPdf417EncodingMode encodingMode, StiPdf417ErrorsCorrectionLevel errorsCorrectionLevel, int dataColumns, int dataRows, boolean autoDataColumns, boolean autoDataRows, double aspectRatio, int ratioY) -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) final doubleGets or sets value, which set aspect ratio between horizontal and vertical sides of bar code.final booleanGets or sets value which indicates that amount of columns will be calculated automatically.final booleanGets or sets value which indicates that amount of rows will be calculated automatically.final intGets or sets amount of data columns.final intGets or sets amound of data rows.final StiPdf417EncodingModeGets or sets type of encoding type.Gets or sets errors correction level.doubleGets os sets height factor of the bar code.doubledoubleGets or sets width of the most fine element of the bar code.final intGets or sets vertical ratio of bar code.Gets a service name.voidLoadFromJsonObject(JSONObject jObject) final voidsetAspectRatio(double value) final voidsetAutoDataColumns(boolean value) final voidsetAutoDataRows(boolean value) final voidsetDataColumns(int value) final voidsetDataRows(int value) final voidfinal voidvoidsetHeight(double value) voidsetModule(double value) final voidsetRatioY(int value) Methods inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
baseDrawImage, 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, isTextSpacing, LoadFromJsonObjectInternal, rollbackTransform, setExportPainter, toInts, toString, translateRect, unpackTilde, unpackTildeMethods inherited from class com.stimulsoft.base.services.StiService
clone, getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabledMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Constructor Details
-
StiPdf417BarCodeType
public StiPdf417BarCodeType() -
StiPdf417BarCodeType
public StiPdf417BarCodeType(double module, StiPdf417EncodingMode encodingMode, StiPdf417ErrorsCorrectionLevel errorsCorrectionLevel, int dataColumns, int dataRows, boolean autoDataColumns, boolean autoDataRows, double aspectRatio, int ratioY)
-
-
Method Details
-
getServiceName
Gets a service name.- Overrides:
getServiceNamein classStiService
-
getModule
public double getModule()Gets or sets width of the most fine element of the bar code.- Specified by:
getModulein classStiBarCodeTypeService
-
setModule
public void setModule(double value) - Specified by:
setModulein classStiBarCodeTypeService
-
getHeight
public double getHeight()Gets os sets height factor of the bar code.- Specified by:
getHeightin classStiBarCodeTypeService
-
setHeight
public void setHeight(double value) - Specified by:
setHeightin classStiBarCodeTypeService
-
getEncodingMode
Gets or sets type of encoding type. -
setEncodingMode
-
getErrorsCorrectionLevel
Gets or sets errors correction level. The higher level is the more information is added to bar code for restoring. -
setErrorsCorrectionLevel
-
getDataColumns
public final int getDataColumns()Gets or sets amount of data columns. -
setDataColumns
public final void setDataColumns(int value) -
getDataRows
public final int getDataRows()Gets or sets amound of data rows. -
setDataRows
public final void setDataRows(int value) -
getAutoDataColumns
public final boolean getAutoDataColumns()Gets or sets value which indicates that amount of columns will be calculated automatically. -
setAutoDataColumns
public final void setAutoDataColumns(boolean value) -
getAutoDataRows
public final boolean getAutoDataRows()Gets or sets value which indicates that amount of rows will be calculated automatically. -
setAutoDataRows
public final void setAutoDataRows(boolean value) -
getAspectRatio
public final double getAspectRatio()Gets or sets value, which set aspect ratio between horizontal and vertical sides of bar code. -
setAspectRatio
public final void setAspectRatio(double value) -
getRatioY
public final int getRatioY()Gets or sets vertical ratio of bar code. Value must between 2 and 5. -
setRatioY
public final void setRatioY(int value) -
getLabelFontHeight
public double getLabelFontHeight()- Specified by:
getLabelFontHeightin classStiBarCodeTypeService
-
draw
public void draw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) throws Exception - Specified by:
drawin classStiBarCodeTypeService- Throws:
Exception
-
SaveToJsonObject
- Overrides:
SaveToJsonObjectin classStiBarCodeTypeService- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin classStiBarCodeTypeService- Throws:
JSONException
-
getDefaultCodeValue
- Specified by:
getDefaultCodeValuein classStiBarCodeTypeService
-