BarcodeParameters
Overview
BarcodeParameters is a class in Aspose.Words FOSS for Java.
Container class for barcode parameters to pass-through to BarcodeGenerator.
Edition status of its 49 listed members (a property and its accessor methods are listed separately, overloads once): 49 not yet exercised by a verified example.
This class declares 34 methods for BarcodeParameters objects in Java programs.
Available methods include: getAddStartStopChar, getBackgroundColor, getBarcodeType, getBarcodeValue, getCaseCodeStyle, getDisplayText, getErrorCorrectionLevel, getFacingIdentificationMark, getFixCheckDigit, getForegroundColor, getPosCodeStyle, getPostalAddress, and 20 additional methods.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: addStartStopChar, backgroundColor, barcodeType, barcodeValue, bookmark, caseCodeStyle, and 11 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
barcodeType | String | Read/Write | Bar code type. |
barcodeValue | String | Read/Write | Data to be encoded. |
symbolHeight | String | Read/Write | Bar code image height (in twips - 1/1440 inches) |
foregroundColor | String | Read/Write | Bar code foreground color (0x000000 - 0xFFFFFF) |
backgroundColor | String | Read/Write | Bar code background color (0x000000 - 0xFFFFFF) |
symbolRotation | String | Read/Write | Rotation of the barcode symbol. |
scalingFactor | String | Read/Write | Scaling factor for the symbol. |
posCodeStyle | String | Read/Write | Style of a Point of Sale barcode (barcode types UPCA|UPCE|EAN13|EAN8). |
caseCodeStyle | String | Read/Write | Style of a Case Code for barcode type ITF14. |
errorCorrectionLevel | String | Read/Write | Error correction level of QR Code. |
displayText | boolean | Read/Write | Whether to display barcode data (text) along with image. |
addStartStopChar | boolean | Read/Write | Whether to add Start/Stop characters for barcode types NW7 and CODE39. |
fixCheckDigit | boolean | Read/Write | Whether to fix the check digit if it’s invalid. |
postalAddress | String | Read/Write | Barcode postal address. |
bookmark | boolean | Read/Write | Whether PostalAddress is the name of a bookmark. |
facingIdentificationMark | String | Read/Write | Type of a Facing Identification Mark (FIM). |
uSPostalAddress | boolean | Read/Write | Whether PostalAddress is a U.S. postal address. |
Methods
| Signature | Description |
|---|---|
getBarcodeType() → String | Bar code type. |
setBarcodeType(value: String) | Sets the barcode type value. |
getBarcodeValue() → String | Data to be encoded. |
setBarcodeValue(value: String) | Sets the barcode value value. |
getSymbolHeight() → String | Bar code image height (in twips - 1/1440 inches) |
setSymbolHeight(value: String) | Sets the symbol height value. |
getForegroundColor() → String | Bar code foreground color (0x000000 - 0xFFFFFF) |
setForegroundColor(value: String) | Sets the foreground color value. |
getBackgroundColor() → String | Bar code background color (0x000000 - 0xFFFFFF) |
setBackgroundColor(value: String) | Sets the background color value. |
getSymbolRotation() → String | Rotation of the barcode symbol. |
setSymbolRotation(value: String) | Sets the symbol rotation value. |
getScalingFactor() → String | Scaling factor for the symbol. |
setScalingFactor(value: String) | Sets the scaling factor value. |
getPosCodeStyle() → String | Style of a Point of Sale barcode (barcode types UPCA|UPCE|EAN13|EAN8). |
setPosCodeStyle(value: String) | Sets the pos code style value. |
getCaseCodeStyle() → String | Style of a Case Code for barcode type ITF14. |
setCaseCodeStyle(value: String) | Sets the case code style value. |
getErrorCorrectionLevel() → String | Error correction level of QR Code. |
setErrorCorrectionLevel(value: String) | Sets the error correction level value. |
getDisplayText() → boolean | Whether to display barcode data (text) along with image. |
setDisplayText(value: boolean) | Sets the display text value. |
getAddStartStopChar() → boolean | Whether to add Start/Stop characters for barcode types NW7 and CODE39. |
setAddStartStopChar(value: boolean) | Sets the add start stop char value. |
getFixCheckDigit() → boolean | Whether to fix the check digit if it’s invalid. |
setFixCheckDigit(value: boolean) | Sets the fix check digit value. |
getPostalAddress() → String | Barcode postal address. |
setPostalAddress(value: String) | Sets the postal address value. |
isBookmark() → boolean | Whether PostalAddress is the name of a bookmark. |
isBookmark(value: boolean) | Calls isBookmark(value) on this BarcodeParameters instance. |
getFacingIdentificationMark() → String | Type of a Facing Identification Mark (FIM). |
setFacingIdentificationMark(value: String) | Sets the facing identification mark value. |
isUSPostalAddress() → boolean | Whether PostalAddress is a U.S. postal address. |
isUSPostalAddress(value: boolean) | Calls isUSPostalAddress(value) on this BarcodeParameters instance. |