Constructor and Description |
---|
BarcodeStamper(String Value,
BarcodeEncoding BarcodeType)
Initializes a new instance of the
BarcodeStamper class. |
BarcodeStamper(String Value,
BarcodeEncoding BarcodeType,
int Width,
int Height)
Initializes a new instance of the
BarcodeStamper class. |
Modifier and Type | Method and Description |
---|---|
BarcodeEncoding |
getBarcodeType()
Gets barcode type.
|
int |
getHeight()
Gets height.
|
String |
getValue()
Gets value.
|
int |
getWidth()
Gets width.
|
void |
setBarcodeType(BarcodeEncoding value)
Sets barcode type.
|
void |
setHeight(int value)
Sets height.
|
void |
setValue(String value)
Sets value.
|
void |
setWidth(int value)
Sets width.
|
getHorizontalAlignment, getHorizontalOffset, getHtml, getHyperlink, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpacity, getRotation, getScale, getVerticalAlignment, getVerticalOffset, isStampBehindContent, setHorizontalAlignment, setHorizontalOffset, setHtml, setHyperlink, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOpacity, setRotation, setScale, setStampBehindContent, setVerticalAlignment, setVerticalOffset
public BarcodeStamper(String Value, BarcodeEncoding BarcodeType)
BarcodeStamper
class.
Width and Height are 250px each by default unless explicitly set.
Value
- The value of the barcode as a string.BarcodeType
- Barcode encoding type to use for this Stamper. Supported encoding types include: QRCode, Code128, and Code39. BarcodeEncoding
.public BarcodeStamper(String Value, BarcodeEncoding BarcodeType, int Width, int Height)
BarcodeStamper
class.Value
- The value of the barcode as a string.BarcodeType
- Barcode encoding type to use for this Stamper. Supported encoding types include: QRCode, Code128, and Code39. BarcodeEncoding
.Width
- The width of the rendered barcode in pixels.Height
- The height of the rendered barcode in pixels.public final String getValue()
public final void setValue(String value)
value
- the valuepublic final BarcodeEncoding getBarcodeType()
BarcodeEncoding
.
Default is QRCode
public final void setBarcodeType(BarcodeEncoding value)
BarcodeEncoding
.
Default is QRCode
value
- the valuepublic final int getWidth()
public final void setWidth(int value)
value
- the valuepublic final int getHeight()
public final void setHeight(int value)
value
- the valueCopyright © 2022–2023 Iron Software. All rights reserved.