com.aspose.words
Class BarcodeParameters

java.lang.Object
    extended by com.aspose.words.BarcodeParameters

public class BarcodeParameters 
extends java.lang.Object

Container class for barcode parameters to pass-through to BarcodeGenerator. The set of parameters are according to DISPLAYBARCODE field options. See the exact list at

Constructor Summary
BarcodeParameters()
          
 
Property Getters/Setters Summary
booleangetAddStartStopChar()
voidsetAddStartStopChar(boolean value)
           Whether to add Start/Stop characters for barcode types NW7 and CODE39.
java.lang.StringgetBackgroundColor()
voidsetBackgroundColor(java.lang.String value)
           Bar code background color (0x000000 - 0xFFFFFF)
java.lang.StringgetBarcodeType()
voidsetBarcodeType(java.lang.String value)
           Bar code type.
java.lang.StringgetBarcodeValue()
voidsetBarcodeValue(java.lang.String value)
           Data to be encoded.
java.lang.StringgetCaseCodeStyle()
voidsetCaseCodeStyle(java.lang.String value)
           Style of a Case Code for barcode type ITF14. The valid values are [STD|EXT|ADD]
booleangetDisplayText()
voidsetDisplayText(boolean value)
           Whether to display barcode data (text) along with image.
java.lang.StringgetErrorCorrectionLevel()
voidsetErrorCorrectionLevel(java.lang.String value)
           Error correction level of QR Code. Valid values are [0, 3].
booleangetFixCheckDigit()
voidsetFixCheckDigit(boolean value)
           Whether to fix the check digit if it’s invalid.
java.lang.StringgetForegroundColor()
voidsetForegroundColor(java.lang.String value)
           Bar code foreground color (0x000000 - 0xFFFFFF)
java.lang.StringgetPosCodeStyle()
voidsetPosCodeStyle(java.lang.String value)
           Style of a Point of Sale barcode (barcode types UPCA|UPCE|EAN13|EAN8). The valid values (case insensitive) are [STD|SUP2|SUP5|CASE].
java.lang.StringgetScalingFactor()
voidsetScalingFactor(java.lang.String value)
           Scaling factor for the symbol. The value is in whole percentage points and the valid values are [10, 1000].
java.lang.StringgetSymbolHeight()
voidsetSymbolHeight(java.lang.String value)
           Bar code image height (in twips - 1/1440 inches)
java.lang.StringgetSymbolRotation()
voidsetSymbolRotation(java.lang.String value)
           Rotation of the barcode symbol. Valid values are [0, 3].
 

Constructor Detail

BarcodeParameters

public BarcodeParameters()

Property Getters/Setters Detail

getAddStartStopChar/setAddStartStopChar

public boolean getAddStartStopChar() / public void setAddStartStopChar(boolean value)
Whether to add Start/Stop characters for barcode types NW7 and CODE39.

getBackgroundColor/setBackgroundColor

public java.lang.String getBackgroundColor() / public void setBackgroundColor(java.lang.String value)
Bar code background color (0x000000 - 0xFFFFFF)

getBarcodeType/setBarcodeType

public java.lang.String getBarcodeType() / public void setBarcodeType(java.lang.String value)
Bar code type.

getBarcodeValue/setBarcodeValue

public java.lang.String getBarcodeValue() / public void setBarcodeValue(java.lang.String value)
Data to be encoded.

getCaseCodeStyle/setCaseCodeStyle

public java.lang.String getCaseCodeStyle() / public void setCaseCodeStyle(java.lang.String value)
Style of a Case Code for barcode type ITF14. The valid values are [STD|EXT|ADD]

getDisplayText/setDisplayText

public boolean getDisplayText() / public void setDisplayText(boolean value)
Whether to display barcode data (text) along with image.

getErrorCorrectionLevel/setErrorCorrectionLevel

public java.lang.String getErrorCorrectionLevel() / public void setErrorCorrectionLevel(java.lang.String value)
Error correction level of QR Code. Valid values are [0, 3].

getFixCheckDigit/setFixCheckDigit

public boolean getFixCheckDigit() / public void setFixCheckDigit(boolean value)
Whether to fix the check digit if it’s invalid.

getForegroundColor/setForegroundColor

public java.lang.String getForegroundColor() / public void setForegroundColor(java.lang.String value)
Bar code foreground color (0x000000 - 0xFFFFFF)

getPosCodeStyle/setPosCodeStyle

public java.lang.String getPosCodeStyle() / public void setPosCodeStyle(java.lang.String value)
Style of a Point of Sale barcode (barcode types UPCA|UPCE|EAN13|EAN8). The valid values (case insensitive) are [STD|SUP2|SUP5|CASE].

getScalingFactor/setScalingFactor

public java.lang.String getScalingFactor() / public void setScalingFactor(java.lang.String value)
Scaling factor for the symbol. The value is in whole percentage points and the valid values are [10, 1000].

getSymbolHeight/setSymbolHeight

public java.lang.String getSymbolHeight() / public void setSymbolHeight(java.lang.String value)
Bar code image height (in twips - 1/1440 inches)

getSymbolRotation/setSymbolRotation

public java.lang.String getSymbolRotation() / public void setSymbolRotation(java.lang.String value)
Rotation of the barcode symbol. Valid values are [0, 3].

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.