com.aspose.words

Class BarcodeParameters

  • java.lang.Object
    • 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
 
Property Getters/Setters Summary
booleangetAddStartStopChar()
void
setAddStartStopChar(booleanvalue)
           Whether to add Start/Stop characters for barcode types NW7 and CODE39.
java.lang.StringgetBackgroundColor()
void
setBackgroundColor(java.lang.Stringvalue)
           Bar code background color (0x000000 - 0xFFFFFF)
java.lang.StringgetBarcodeType()
void
setBarcodeType(java.lang.Stringvalue)
           Bar code type.
java.lang.StringgetBarcodeValue()
void
setBarcodeValue(java.lang.Stringvalue)
           Data to be encoded.
java.lang.StringgetCaseCodeStyle()
void
setCaseCodeStyle(java.lang.Stringvalue)
           Style of a Case Code for barcode type ITF14. The valid values are [STD|EXT|ADD]
booleangetDisplayText()
void
setDisplayText(booleanvalue)
           Whether to display barcode data (text) along with image.
java.lang.StringgetErrorCorrectionLevel()
void
setErrorCorrectionLevel(java.lang.Stringvalue)
           Error correction level of QR Code. Valid values are [0, 3].
java.lang.StringgetFacingIdentificationMark()
void
setFacingIdentificationMark(java.lang.Stringvalue)
           Type of a Facing Identification Mark (FIM).
booleangetFixCheckDigit()
void
setFixCheckDigit(booleanvalue)
           Whether to fix the check digit if it’s invalid.
java.lang.StringgetForegroundColor()
void
setForegroundColor(java.lang.Stringvalue)
           Bar code foreground color (0x000000 - 0xFFFFFF)
booleanisBookmark()
void
isBookmark(booleanvalue)
           Whether PostalAddress is the name of a bookmark.
booleanisUSPostalAddress()
void
isUSPostalAddress(booleanvalue)
           Whether PostalAddress is a U.S. postal address.
java.lang.StringgetPosCodeStyle()
void
setPosCodeStyle(java.lang.Stringvalue)
           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.StringgetPostalAddress()
void
setPostalAddress(java.lang.Stringvalue)
           Barcode postal address.
java.lang.StringgetScalingFactor()
void
setScalingFactor(java.lang.Stringvalue)
           Scaling factor for the symbol. The value is in whole percentage points and the valid values are [10, 1000].
java.lang.StringgetSymbolHeight()
void
setSymbolHeight(java.lang.Stringvalue)
           Bar code image height (in twips - 1/1440 inches)
java.lang.StringgetSymbolRotation()
void
setSymbolRotation(java.lang.Stringvalue)
           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].
      • getFacingIdentificationMark/setFacingIdentificationMark

        public java.lang.String getFacingIdentificationMark() / public void setFacingIdentificationMark(java.lang.String value)
        
        Type of a Facing Identification Mark (FIM).
      • 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)
      • isBookmark/isBookmark

        public boolean isBookmark() / public void isBookmark(boolean value)
        
        Whether PostalAddress is the name of a bookmark.
      • isUSPostalAddress/isUSPostalAddress

        public boolean isUSPostalAddress() / public void isUSPostalAddress(boolean value)
        
        Whether PostalAddress is a U.S. postal address.
      • 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].
      • getPostalAddress/setPostalAddress

        public java.lang.String getPostalAddress() / public void setPostalAddress(java.lang.String value)
        
        Barcode postal address.
      • 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].