From 15e4a3e57d61b18533f0cd21666d14a8eb11e31f Mon Sep 17 00:00:00 2001 From: Ivan Kamkin <234-Ivan.Kamkin@users.noreply.git.saltov.dynabic.com> Date: Tue, 27 May 2025 10:44:10 +0500 Subject: [PATCH] Version updated. --- README.md | 2 +- aspose_barcode_cloud/api/generate_api.py | 30 +++++----- aspose_barcode_cloud/api_client.py | 4 +- aspose_barcode_cloud/configuration.py | 2 +- .../models/barcode_image_params.py | 24 ++++---- docs/BarcodeImageParams.md | 12 ++-- docs/GenerateApi.md | 60 +++++++++---------- setup.py | 2 +- 8 files changed, 68 insertions(+), 68 deletions(-) diff --git a/README.md b/README.md index 45a6c09..7a51c41 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/aspose_barcode_cloud/api/generate_api.py b/aspose_barcode_cloud/api/generate_api.py index 6413333..a4e05d2 100644 --- a/aspose_barcode_cloud/api/generate_api.py +++ b/aspose_barcode_cloud/api/generate_api.py @@ -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, @@ -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, diff --git a/aspose_barcode_cloud/api_client.py b/aspose_barcode_cloud/api_client.py index 8d56ff1..400603b 100644 --- a/aspose_barcode_cloud/api_client.py +++ b/aspose_barcode_cloud/api_client.py @@ -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() diff --git a/aspose_barcode_cloud/configuration.py b/aspose_barcode_cloud/configuration.py index 03f0cbb..6a1c536 100644 --- a/aspose_barcode_cloud/configuration.py +++ b/aspose_barcode_cloud/configuration.py @@ -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 diff --git a/aspose_barcode_cloud/models/barcode_image_params.py b/aspose_barcode_cloud/models/barcode_image_params.py index db001dd..205f569 100644 --- a/aspose_barcode_cloud/models/barcode_image_params.py +++ b/aspose_barcode_cloud/models/barcode_image_params.py @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/docs/BarcodeImageParams.md b/docs/BarcodeImageParams.md index 065579b..a4028fb 100644 --- a/docs/BarcodeImageParams.md +++ b/docs/BarcodeImageParams.md @@ -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) diff --git a/docs/GenerateApi.md b/docs/GenerateApi.md index 1801ee0..01ee9e6 100644 --- a/docs/GenerateApi.md +++ b/docs/GenerateApi.md @@ -28,16 +28,16 @@ configuration = aspose_barcode_cloud.Configuration(access_token="YOUR_ACCESS_TOK api_instance = aspose_barcode_cloud.GenerateApi(aspose_barcode_cloud.ApiClient(configuration)) barcode_type = aspose_barcode_cloud.EncodeBarcodeType() # EncodeBarcodeType | Type of barcode to generate. data = 'data_example' # str | String represents data to encode -data_type = aspose_barcode_cloud.EncodeDataType() # EncodeDataType | Type of data to encode. Default value: StringData. (optional) -image_format = aspose_barcode_cloud.BarcodeImageFormat() # BarcodeImageFormat | Barcode output image format. Default value: png (optional) -text_location = aspose_barcode_cloud.CodeLocation() # CodeLocation | 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. (optional) -foreground_color = 'Black' # 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 = 'White' # 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') +data_type = aspose_barcode_cloud.EncodeDataType() # EncodeDataType | Type of data to encode. Default value: StringData. (optional) +image_format = aspose_barcode_cloud.BarcodeImageFormat() # BarcodeImageFormat | Barcode output image format. Default value: png (optional) +text_location = aspose_barcode_cloud.CodeLocation() # CodeLocation | 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. (optional) +foreground_color = 'Black' # 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 = 'White' # 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 = aspose_barcode_cloud.GraphicsUnit() # GraphicsUnit | Common Units for all measuring in query. Default units: pixel. (optional) -resolution = 3.4 # float | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. (optional) -image_height = 3.4 # float | Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. (optional) -image_width = 3.4 # float | Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. (optional) -rotation_angle = 56 # 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 = 3.4 # float | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. (optional) +image_height = 3.4 # float | Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. (optional) +image_width = 3.4 # float | Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. (optional) +rotation_angle = 56 # 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) try: # Generate barcode using GET request with parameters in route and query string. @@ -53,16 +53,16 @@ Name | Type | Description | Notes ---- | ---- | ------------ | ----- **barcode_type** | [**EncodeBarcodeType**](.md)| Type of barcode to generate. | **data** | **str**| String represents data to encode | - **data_type** | [**EncodeDataType**](.md)| Type of data to encode. Default value: StringData. | [optional] - **image_format** | [**BarcodeImageFormat**](.md)| Barcode output image format. Default value: png | [optional] - **text_location** | [**CodeLocation**](.md)| 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. | [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'] + **data_type** | [**EncodeDataType**](.md)| Type of data to encode. Default value: StringData. | [optional] + **image_format** | [**BarcodeImageFormat**](.md)| Barcode output image format. Default value: png | [optional] + **text_location** | [**CodeLocation**](.md)| 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. | [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'] **units** | [**GraphicsUnit**](.md)| Common Units for all measuring in query. Default units: pixel. | [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] ### Return type @@ -149,13 +149,13 @@ data = 'data_example' # str | String represents data to encode data_type = aspose_barcode_cloud.EncodeDataType() # EncodeDataType | (optional) image_format = aspose_barcode_cloud.BarcodeImageFormat() # BarcodeImageFormat | (optional) text_location = aspose_barcode_cloud.CodeLocation() # CodeLocation | (optional) -foreground_color = 'Black' # 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 = 'White' # 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 = 'Black' # 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 = 'White' # 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 = aspose_barcode_cloud.GraphicsUnit() # GraphicsUnit | (optional) -resolution = 3.4 # float | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. (optional) -image_height = 3.4 # float | Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. (optional) -image_width = 3.4 # float | Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. (optional) -rotation_angle = 56 # 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 = 3.4 # float | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. (optional) +image_height = 3.4 # float | Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. (optional) +image_width = 3.4 # float | Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. (optional) +rotation_angle = 56 # 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) try: # Generate barcode using POST request with parameters in multipart form. @@ -174,13 +174,13 @@ Name | Type | Description | Notes **data_type** | [**EncodeDataType**](EncodeDataType.md)| | [optional] **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] ### Return type diff --git a/setup.py b/setup.py index 0d468e9..c72ccc7 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import setup, find_packages NAME = "aspose-barcode-cloud" -VERSION = "25.4.0" +VERSION = "25.5.0" # To install the library, run the following # # python setup.py install