Aspose.Barcode for Python via Java Generation and Recognition API docs
|
Barcode image generation parameters. More...
Inherits BaseJavaClass.
Public Member Functions | |
def | __init__ (self, javaClass) |
def | init (self) |
def | getUseAntiAlias (self) |
def | setUseAntiAlias (self, value) |
def | getBackColor (self) |
Background color of the barcode image, representation of an RGB tuple. More... | |
def | setBackColor (self, value) |
Background color of the barcode image, representation of an RGB tuple. More... | |
def | getResolution (self) |
Gets the resolution of the BarCode image. More... | |
def | getImage (self) |
def | setResolution (self, value) |
Sets the resolution of the BarCode image. More... | |
def | getRotationAngle (self) |
BarCode image rotation angle, measured in degree, e.g. More... | |
def | setRotationAngle (self, value) |
BarCode image rotation angle, measured in degree, e.g. More... | |
def | getCaptionAbove (self) |
Caption Above the BarCode image. More... | |
def | setCaptionAbove (self, value) |
Caption Above the BarCode image. More... | |
def | getCaptionBelow (self) |
Caption Below the BarCode image. More... | |
def | setCaptionBelow (self, value) |
Caption Below the BarCode image. More... | |
def | getAutoSizeMode (self) |
Specifies the different types of automatic sizing modes. More... | |
def | setAutoSizeMode (self, value) |
Specifies the different types of automatic sizing modes. More... | |
def | getImageHeight (self) |
BarCode image height when AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION. More... | |
def | setImageHeight (self, value) |
BarCode image height when AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION. More... | |
def | getImageWidth (self) |
BarCode image width when AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION. More... | |
def | setImageWidth (self, value) |
BarCode image width when AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION. More... | |
def | getBarcode (self) |
Gets the BarcodeParameters that contains all barcode properties. More... | |
def | setBarcode (self, value) |
Gets the BarcodeParameters that contains all barcode properties. More... | |
def | getBorder (self) |
Gets the BorderParameters that contains all configuration properties for barcode border. More... | |
Public Member Functions inherited from BaseJavaClass | |
def | getJavaClass (self) |
def | setJavaClass (self, javaClass) |
def | getJavaClassName (self) |
def | isNull (self) |
def | printJavaClassName (self) |
Public Attributes | |
captionAbove | |
captionBelow | |
barcodeParameters | |
borderParameters | |
imageWidth | |
imageHeight | |
image | |
Public Attributes inherited from BaseJavaClass | |
javaClass | |
javaClassName | |
Barcode image generation parameters.
def __init__ | ( | self, | |
javaClass | |||
) |
Reimplemented from BaseJavaClass.
def getAutoSizeMode | ( | self | ) |
Specifies the different types of automatic sizing modes.
Default value: AutoSizeMode.NONE.
def getBackColor | ( | self | ) |
Background color of the barcode image, representation of an RGB tuple.
Default value: 0
def getBarcode | ( | self | ) |
Gets the BarcodeParameters that contains all barcode properties.
def getBorder | ( | self | ) |
Gets the BorderParameters that contains all configuration properties for barcode border.
def getCaptionAbove | ( | self | ) |
Caption Above the BarCode image.
See CaptionParameters.
def getCaptionBelow | ( | self | ) |
Caption Below the BarCode image.
See CaptionParameters.
def getImage | ( | self | ) |
Image parameters. See ImageParameters :return:
def getImageHeight | ( | self | ) |
BarCode image height when AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.
def getImageWidth | ( | self | ) |
BarCode image width when AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.
def getResolution | ( | self | ) |
Gets the resolution of the BarCode image.
One value for both dimensions. Default value: 96 dpi. The Resolution parameter value is less than or equal to 0.
def getRotationAngle | ( | self | ) |
BarCode image rotation angle, measured in degree, e.g.
RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. This sample shows how to create and save a BarCode image.
def getUseAntiAlias | ( | self | ) |
Gets a value indicating whether is used anti-aliasing mode to render image
def init | ( | self | ) |
Reimplemented from BaseJavaClass.
def setAutoSizeMode | ( | self, | |
value | |||
) |
Specifies the different types of automatic sizing modes.
Default value: AutoSizeMode.NONE.
def setBackColor | ( | self, | |
value | |||
) |
Background color of the barcode image, representation of an RGB tuple.
Default value: 0
def setBarcode | ( | self, | |
value | |||
) |
Gets the BarcodeParameters that contains all barcode properties.
def setCaptionAbove | ( | self, | |
value | |||
) |
Caption Above the BarCode image.
See CaptionParameters.
def setCaptionBelow | ( | self, | |
value | |||
) |
Caption Below the BarCode image.
See CaptionParameters.
def setImageHeight | ( | self, | |
value | |||
) |
BarCode image height when AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.
def setImageWidth | ( | self, | |
value | |||
) |
BarCode image width when AutoSizeMode property is set to AutoSizeMode.NEAREST or AutoSizeMode.INTERPOLATION.
def setResolution | ( | self, | |
value | |||
) |
Sets the resolution of the BarCode image.
One value for both dimensions. Default value: 96 dpi. The Resolution parameter value is less than or equal to 0.
def setRotationAngle | ( | self, | |
value | |||
) |
BarCode image rotation angle, measured in degree, e.g.
RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0.
def setUseAntiAlias | ( | self, | |
value | |||
) |
Sets a value indicating whether is used anti-aliasing mode to render image
barcodeParameters |
borderParameters |
captionAbove |
captionBelow |
image |
imageHeight |
imageWidth |