Package com.aspose.barcode.component
Class QrParametersUI
- java.lang.Object
-
- com.aspose.barcode.component.QrParametersUI
-
public class QrParametersUI extends java.lang.Object
UI wrapper for com.aspose.barcode.generation.QrParameters class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getAspectRatio()
Height/Width ratio of 2D BarCode module.java.nio.charset.Charset
getCodeTextEncoding()
Gets the encoding of codetext.QREncodeMode
getQrEncodeMode()
QR symbology type of BarCode's encoding mode.QREncodeType
getQrEncodeType()
QR / MicroQR selector mode.QRErrorLevel
getQrErrorLevel()
Level of Reed-Solomon error correction for QR barcode.QRVersion
getQrVersion()
Version of QR Code.void
setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.void
setCodeTextEncoding(java.nio.charset.Charset value)
Sets the encoding of codetext.void
setQrEncodeMode(QREncodeMode value)
QR symbology type of BarCode's encoding mode.void
setQrEncodeType(QREncodeType value)
QR / MicroQR selector mode.void
setQrErrorLevel(QRErrorLevel value)
Level of Reed-Solomon error correction for QR barcode.void
setQrVersion(QRVersion value)
Version of QR Code.java.lang.String
toString()
Returns a human-readable string representation of this.
-
-
-
Method Detail
-
getQrEncodeMode
public QREncodeMode getQrEncodeMode()
QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.AUTO.
-
setQrEncodeMode
public void setQrEncodeMode(QREncodeMode value)
QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.AUTO.
-
getQrEncodeType
public QREncodeType getQrEncodeType()
QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR.
-
setQrEncodeType
public void setQrEncodeType(QREncodeType value)
QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR.
-
getQrErrorLevel
public QRErrorLevel getQrErrorLevel()
Level of Reed-Solomon error correction for QR barcode. From low to high: LevelL, LevelM, LevelQ, LevelH. see QRErrorLevel.
-
setQrErrorLevel
public void setQrErrorLevel(QRErrorLevel value)
Level of Reed-Solomon error correction for QR barcode. From low to high: LevelL, LevelM, LevelQ, LevelH. see QRErrorLevel.
-
getQrVersion
public QRVersion getQrVersion()
Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr. Default value is QRVersion.AUTO.
-
setQrVersion
public void setQrVersion(QRVersion value)
Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr. Default value is QRVersion.AUTO.
-
getAspectRatio
public float getAspectRatio()
Height/Width ratio of 2D BarCode module.
-
setAspectRatio
public void setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.
-
getCodeTextEncoding
public java.nio.charset.Charset getCodeTextEncoding()
Gets the encoding of codetext.
-
setCodeTextEncoding
public void setCodeTextEncoding(java.nio.charset.Charset value)
Sets the encoding of codetext.
-
toString
public java.lang.String toString()
Returns a human-readable string representation of this. - Overrides:
toString
in classjava.lang.Object
- Returns:
- A string that represents this
.
-
-