Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![PyPI](https://img.shields.io/pypi/v/aspose-barcode-cloud)](https://pypi.org/project/aspose-barcode-cloud/)

- API version: 4.0
- Package version: 25.4.0
- Package version: 25.5.0

## SDK and API Version Compatibility:

Expand Down
30 changes: 15 additions & 15 deletions aspose_barcode_cloud/api/generate_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ def generate(

:param EncodeBarcodeType barcode_type: Type of barcode to generate. # noqa: E501
:param str data: String represents data to encode # noqa: E501
:param EncodeDataType data_type: Type of data to encode. Default value: StringData. # noqa: E501
:param BarcodeImageFormat image_format: Barcode output image format. Default value: png # noqa: E501
:param CodeLocation text_location: Specify the displaying Text Location, set to CodeLocation.None to hide CodeText. Default value: Depends on BarcodeType. CodeLocation.Below for 1D Barcodes. CodeLocation.None for 2D Barcodes. # noqa: E501
:param str foreground_color: Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. # noqa: E501
:param str background_color: Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. # noqa: E501
:param EncodeDataType data_type: Type of data to encode. Default value: StringData. # noqa: E501
:param BarcodeImageFormat image_format: Barcode output image format. Default value: png # noqa: E501
:param CodeLocation text_location: Specify the displaying Text Location, set to CodeLocation.None to hide CodeText. Default value: Depends on BarcodeType. CodeLocation.Below for 1D Barcodes. CodeLocation.None for 2D Barcodes. # noqa: E501
:param str foreground_color: Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. # noqa: E501
:param str background_color: Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. # noqa: E501
:param GraphicsUnit units: Common Units for all measuring in query. Default units: pixel. # noqa: E501
:param float resolution: Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. # noqa: E501
:param float image_height: Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
:param float image_width: Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
:param int 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
:param float resolution: Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. # noqa: E501
:param float image_height: Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
:param float image_width: Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
:param int 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
:param async_req bool
:return: bytearray
If the method is called asynchronously,
Expand Down Expand Up @@ -356,13 +356,13 @@ def generate_multipart(
:param EncodeDataType data_type: # noqa: E501
:param BarcodeImageFormat image_format: # noqa: E501
:param CodeLocation text_location: # noqa: E501
:param str foreground_color: Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. # noqa: E501
:param str background_color: Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. # noqa: E501
:param str foreground_color: Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. # noqa: E501
:param str background_color: Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. # noqa: E501
:param GraphicsUnit units: # noqa: E501
:param float resolution: Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. # noqa: E501
:param float image_height: Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
:param float image_width: Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
:param int 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
:param float resolution: Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. # noqa: E501
:param float image_height: Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
:param float image_width: Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
:param int 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
:param async_req bool
:return: bytearray
If the method is called asynchronously,
Expand Down
4 changes: 2 additions & 2 deletions aspose_barcode_cloud/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook
self.rest_client = RESTClientObject(configuration)
self.default_headers = {
"x-aspose-client": "python sdk",
"x-aspose-client-version": "25.4.0",
"x-aspose-client-version": "25.5.0",
}
if header_name is not None:
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = "Aspose-Barcode-SDK/25.4.0/python"
self.user_agent = "Aspose-Barcode-SDK/25.5.0/python"

def __del__(self):
self.rest_client.close()
Expand Down
2 changes: 1 addition & 1 deletion aspose_barcode_cloud/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def to_debug_report(self):
"OS: {env}\n"
"Python Version: {pyversion}\n"
"Version of the API: 4.0\n"
"SDK Package Version: 25.4.0".format(env=sys.platform, pyversion=sys.version)
"SDK Package Version: 25.5.0".format(env=sys.platform, pyversion=sys.version)
)

@staticmethod
Expand Down
24 changes: 12 additions & 12 deletions aspose_barcode_cloud/models/barcode_image_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def text_location(self, text_location):
def foreground_color(self):
"""Gets the foreground_color of this BarcodeImageParams. # noqa: E501

Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. # noqa: E501
Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. # noqa: E501

:return: The foreground_color of this BarcodeImageParams. # noqa: E501
:rtype: str
Expand All @@ -143,7 +143,7 @@ def foreground_color(self):
def foreground_color(self, foreground_color):
"""Sets the foreground_color of this BarcodeImageParams.

Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. # noqa: E501
Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. # noqa: E501

:param foreground_color: The foreground_color of this BarcodeImageParams. # noqa: E501
:type: str
Expand All @@ -155,7 +155,7 @@ def foreground_color(self, foreground_color):
def background_color(self):
"""Gets the background_color of this BarcodeImageParams. # noqa: E501

Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. # noqa: E501
Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. # noqa: E501

:return: The background_color of this BarcodeImageParams. # noqa: E501
:rtype: str
Expand All @@ -166,7 +166,7 @@ def background_color(self):
def background_color(self, background_color):
"""Sets the background_color of this BarcodeImageParams.

Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. # noqa: E501
Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. # noqa: E501

:param background_color: The background_color of this BarcodeImageParams. # noqa: E501
:type: str
Expand Down Expand Up @@ -199,7 +199,7 @@ def units(self, units):
def resolution(self):
"""Gets the resolution of this BarcodeImageParams. # noqa: E501

Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. # noqa: E501
Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. # noqa: E501

:return: The resolution of this BarcodeImageParams. # noqa: E501
:rtype: float
Expand All @@ -210,7 +210,7 @@ def resolution(self):
def resolution(self, resolution):
"""Sets the resolution of this BarcodeImageParams.

Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. # noqa: E501
Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. # noqa: E501

:param resolution: The resolution of this BarcodeImageParams. # noqa: E501
:type: float
Expand All @@ -230,7 +230,7 @@ def resolution(self, resolution):
def image_height(self):
"""Gets the image_height of this BarcodeImageParams. # noqa: E501

Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501

:return: The image_height of this BarcodeImageParams. # noqa: E501
:rtype: float
Expand All @@ -241,7 +241,7 @@ def image_height(self):
def image_height(self, image_height):
"""Sets the image_height of this BarcodeImageParams.

Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501

:param image_height: The image_height of this BarcodeImageParams. # noqa: E501
:type: float
Expand All @@ -253,7 +253,7 @@ def image_height(self, image_height):
def image_width(self):
"""Gets the image_width of this BarcodeImageParams. # noqa: E501

Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501

:return: The image_width of this BarcodeImageParams. # noqa: E501
:rtype: float
Expand All @@ -264,7 +264,7 @@ def image_width(self):
def image_width(self, image_width):
"""Sets the image_width of this BarcodeImageParams.

Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501

:param image_width: The image_width of this BarcodeImageParams. # noqa: E501
:type: float
Expand All @@ -276,7 +276,7 @@ def image_width(self, image_width):
def rotation_angle(self):
"""Gets the rotation_angle of this BarcodeImageParams. # noqa: E501

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
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

:return: The rotation_angle of this BarcodeImageParams. # noqa: E501
:rtype: int
Expand All @@ -287,7 +287,7 @@ def rotation_angle(self):
def rotation_angle(self, rotation_angle):
"""Sets the rotation_angle of this BarcodeImageParams.

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
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

:param rotation_angle: The rotation_angle of this BarcodeImageParams. # noqa: E501
:type: int
Expand Down
12 changes: 6 additions & 6 deletions docs/BarcodeImageParams.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ Name | Type | Description | Notes
---- | ---- | ----------- | -----
**image_format** | [**BarcodeImageFormat**](BarcodeImageFormat.md) | | [optional]
**text_location** | [**CodeLocation**](CodeLocation.md) | | [optional]
**foreground_color** | **str** | Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. | [optional] [default to 'Black']
**background_color** | **str** | Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. | [optional] [default to 'White']
**foreground_color** | **str** | Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. | [optional] [default to 'Black']
**background_color** | **str** | Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. | [optional] [default to 'White']
**units** | [**GraphicsUnit**](GraphicsUnit.md) | | [optional]
**resolution** | **float** | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional]
**image_height** | **float** | Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
**image_width** | **float** | Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
**rotation_angle** | **int** | 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. | [optional]
**resolution** | **float** | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional]
**image_height** | **float** | Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
**image_width** | **float** | Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
**rotation_angle** | **int** | 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. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Loading