You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspose_barcode_cloud/api/barcode_api.py
+29-26Lines changed: 29 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,6 @@ def get_barcode_generate(
26
26
text_location=None,
27
27
text_alignment=None,
28
28
text_color=None,
29
-
font_size_mode=None,
30
29
no_wrap=None,
31
30
resolution=None,
32
31
resolution_x=None,
@@ -71,8 +70,7 @@ def get_barcode_generate(
71
70
:param str two_d_display_text: Text that will be displayed instead of codetext in 2D barcodes. Used for: Aztec, Pdf417, DataMatrix, QR, MaxiCode, DotCode # noqa: E501
72
71
:param str text_location: Specify the displaying Text Location, set to CodeLocation.None to hide CodeText. Default value: CodeLocation.Below. # noqa: E501
73
72
:param str text_alignment: Text alignment. # noqa: E501
:param str font_size_mode: Specify FontSizeMode. If FontSizeMode is set to Auto, font size will be calculated automatically based on xDimension value. It is recommended to use FontSizeMode.Auto especially in AutoSizeMode.Nearest or AutoSizeMode.Interpolation. Default value: FontSizeMode.Auto. # noqa: E501
73
+
:param str text_color: Specify the displaying CodeText's Color. Default value: black. Use named colors like: red, green, blue Or HTML colors like: #FF0000, #00FF00, #0000FF # noqa: E501
76
74
:param bool no_wrap: Specify word wraps (line breaks) within text. Default value: false. # noqa: E501
77
75
:param float resolution: Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. # noqa: E501
78
76
:param float resolution_x: DEPRECATED: Use 'Resolution' instead. # noqa: E501
@@ -85,9 +83,9 @@ def get_barcode_generate(
85
83
:param float image_height: Height of the barcode image in given units. Default units: pixel. # noqa: E501
86
84
:param float image_width: Width of the barcode image in given units. Default units: pixel. # noqa: E501
87
85
:param float rotation_angle: 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. # noqa: E501
88
-
:param str back_color: Background color of the barcode image. Default value: Color.White. # noqa: E501
:param str back_color: Background color of the barcode image. Default value: white. Use named colors like: red, green, blue Or HTML colors like: #FF0000, #00FF00, #0000FF # noqa: E501
87
+
:param str bar_color: Bars color. Default value: black. Use named colors like: red, green, blue Or HTML colors like: #FF0000, #00FF00, #0000FF # noqa: E501
88
+
:param str border_color: Border color. Default value: black. Use named colors like: red, green, blue Or HTML colors like: #FF0000, #00FF00, #0000FF # noqa: E501
91
89
:param float border_width: Border width. Default value: 0. Ignored if Visible is set to false. # noqa: E501
:param str two_d_display_text: Text that will be displayed instead of codetext in 2D barcodes. Used for: Aztec, Pdf417, DataMatrix, QR, MaxiCode, DotCode # noqa: E501
1289
1281
:param str text_location: Specify the displaying Text Location, set to CodeLocation.None to hide CodeText. Default value: CodeLocation.Below. # noqa: E501
1290
1282
:param str text_alignment: Text alignment. # noqa: E501
:param str font_size_mode: Specify FontSizeMode. If FontSizeMode is set to Auto, font size will be calculated automatically based on xDimension value. It is recommended to use FontSizeMode.Auto especially in AutoSizeMode.Nearest or AutoSizeMode.Interpolation. Default value: FontSizeMode.Auto. # noqa: E501
1283
+
:param str text_color: Specify the displaying CodeText's Color. Default value: black. Use named colors like: red, green, blue Or HTML colors like: #FF0000, #00FF00, #0000FF # noqa: E501
1293
1284
:param bool no_wrap: Specify word wraps (line breaks) within text. Default value: false. # noqa: E501
1294
1285
:param float resolution: Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. # noqa: E501
1295
1286
:param float resolution_x: DEPRECATED: Use 'Resolution' instead. # noqa: E501
:param float image_height: Height of the barcode image in given units. Default units: pixel. # noqa: E501
1303
1294
:param float image_width: Width of the barcode image in given units. Default units: pixel. # noqa: E501
1304
1295
:param float rotation_angle: 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. # noqa: E501
1305
-
:param str back_color: Background color of the barcode image. Default value: Color.White. # noqa: E501
:param str back_color: Background color of the barcode image. Default value: white. Use named colors like: red, green, blue Or HTML colors like: #FF0000, #00FF00, #0000FF # noqa: E501
1297
+
:param str bar_color: Bars color. Default value: black. Use named colors like: red, green, blue Or HTML colors like: #FF0000, #00FF00, #0000FF # noqa: E501
1298
+
:param str border_color: Border color. Default value: black. Use named colors like: red, green, blue Or HTML colors like: #FF0000, #00FF00, #0000FF # noqa: E501
1308
1299
:param float border_width: Border width. Default value: 0. Ignored if Visible is set to false. # noqa: E501
:param file image_file: Image as file # noqa: E501
1869
1857
:param list[DecodeBarcodeType] decode_types: Types of barcode to recognize # noqa: E501
1870
1858
:param int timeout: Timeout of recognition process in milliseconds. Default value is 15_000 (15 seconds). Maximum value is 30_000 (1/2 minute). In case of a timeout RequestTimeout (408) status will be returned. Try reducing the image size to avoid timeout. # noqa: E501
1859
+
:param str checksum_validation: Checksum validation setting. Default is ON. # noqa: E501
Specify the displaying CodeText's Color. Default value: black. Use named colors like: red, green, blue Or HTML colors like: #FF0000, #00FF00, #0000FF # noqa: E501
493
493
494
494
:return: The text_color of this GeneratorParams. # noqa: E501
Specify the displaying CodeText's Color. Default value: black. Use named colors like: red, green, blue Or HTML colors like: #FF0000, #00FF00, #0000FF # noqa: E501
504
504
505
505
:param text_color: The text_color of this GeneratorParams. # noqa: E501
"""Gets the back_color of this GeneratorParams. # noqa: E501
913
913
914
-
Background color of the barcode image. Default value: Color.White. # noqa: E501
914
+
Background color of the barcode image. Default value: white. Use named colors like: red, green, blue Or HTML colors like: #FF0000, #00FF00, #0000FF # noqa: E501
915
915
916
916
:return: The back_color of this GeneratorParams. # noqa: E501
917
917
:rtype: str
@@ -922,7 +922,7 @@ def back_color(self):
922
922
defback_color(self, back_color):
923
923
"""Sets the back_color of this GeneratorParams.
924
924
925
-
Background color of the barcode image. Default value: Color.White. # noqa: E501
925
+
Background color of the barcode image. Default value: white. Use named colors like: red, green, blue Or HTML colors like: #FF0000, #00FF00, #0000FF # noqa: E501
926
926
927
927
:param back_color: The back_color of this GeneratorParams. # noqa: E501
0 commit comments