Skip to content

Commit 181350f

Browse files
authored
Release 20.12 (#18)
1 parent 30bca51 commit 181350f

21 files changed

+229
-10
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Aspose.BarCode Cloud SDK for .NET
22

33
- API version: 3.0
4-
- SDK version: 20.11.0
4+
- SDK version: 20.12.0
55

66
[Aspose.BarCode for Cloud](https://products.aspose.cloud/barcode/cloud) is a REST API for Linear, 2D and postal barcode generation and recognition in the cloud. API recognizes and generates barcode images in a variety of formats. Barcode REST API allows to specify barcode image attributes like image width, height, border style and output image format in order to customize the generation process. Developers can also specify the barcode type and text attributes such as text location and font styles in order to suit the application requirements.
77

@@ -152,6 +152,7 @@ Class | Method | HTTP request | Description
152152
- [Model.GeneratorParamsList](docs/GeneratorParamsList.md)
153153
- [Model.ITF14BorderType](docs/ITF14BorderType.md)
154154
- [Model.ITFParams](docs/ITFParams.md)
155+
- [Model.MacroCharacter](docs/MacroCharacter.md)
155156
- [Model.MaxiCodeParams](docs/MaxiCodeParams.md)
156157
- [Model.ObjectExist](docs/ObjectExist.md)
157158
- [Model.Padding](docs/Padding.md)
@@ -172,6 +173,7 @@ Class | Method | HTTP request | Description
172173
- [Model.ResultImageInfo](docs/ResultImageInfo.md)
173174
- [Model.StorageExist](docs/StorageExist.md)
174175
- [Model.StorageFile](docs/StorageFile.md)
176+
- [Model.StructuredAppend](docs/StructuredAppend.md)
175177
- [Model.TextAlignment](docs/TextAlignment.md)
176178
- [Model.FileVersion](docs/FileVersion.md)
177179

docs/BarcodeApi.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Method | HTTP request | Description
1515

1616
<a name="getbarcodegenerate"></a>
1717
# **GetBarcodeGenerate**
18-
> System.IO.Stream GetBarcodeGenerate (string type, string text, string twoDDisplayText = null, string textLocation = null, string textAlignment = null, string textColor = null, string fontSizeMode = null, double? resolution = null, double? resolutionX = null, double? resolutionY = null, double? dimensionX = null, double? textSpace = null, string units = null, string sizeMode = null, double? barHeight = null, double? imageHeight = null, double? imageWidth = null, double? rotationAngle = null, string backColor = null, string barColor = null, string borderColor = null, double? borderWidth = null, string borderDashStyle = null, bool? borderVisible = null, string enableChecksum = null, bool? enableEscape = null, bool? filledBars = null, bool? alwaysShowChecksum = null, double? wideNarrowRatio = null, bool? validateText = null, string supplementData = null, double? supplementSpace = null, double? barWidthReduction = null, string format = null)
18+
> System.IO.Stream GetBarcodeGenerate (string type, string text, string twoDDisplayText = null, string textLocation = null, string textAlignment = null, string textColor = null, string fontSizeMode = null, bool? noWrap = null, double? resolution = null, double? resolutionX = null, double? resolutionY = null, double? dimensionX = null, double? textSpace = null, string units = null, string sizeMode = null, double? barHeight = null, double? imageHeight = null, double? imageWidth = null, double? rotationAngle = null, string backColor = null, string barColor = null, string borderColor = null, double? borderWidth = null, string borderDashStyle = null, bool? borderVisible = null, string enableChecksum = null, bool? enableEscape = null, bool? filledBars = null, bool? alwaysShowChecksum = null, double? wideNarrowRatio = null, bool? validateText = null, string supplementData = null, double? supplementSpace = null, double? barWidthReduction = null, string format = null)
1919
2020
Generate barcode.
2121

@@ -44,6 +44,7 @@ namespace Example
4444
var textAlignment = textAlignment_example; // string | Text alignment. (optional)
4545
var textColor = textColor_example; // string | Specify the displaying CodeText's Color. Default value: Color.Black. (optional)
4646
var fontSizeMode = fontSizeMode_example; // string | 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. (optional)
47+
var noWrap = true; // bool? | Specify word wraps (line breaks) within text. Default value: false. (optional)
4748
var resolution = 1.2; // double? | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. (optional)
4849
var resolutionX = 1.2; // double? | DEPRECATED: Use 'Resolution' instead. (optional)
4950
var resolutionY = 1.2; // double? | DEPRECATED: Use 'Resolution' instead. (optional)
@@ -75,7 +76,7 @@ namespace Example
7576
try
7677
{
7778
// Generate barcode.
78-
System.IO.Stream result = apiInstance.GetBarcodeGenerate(type, text, twoDDisplayText, textLocation, textAlignment, textColor, fontSizeMode, resolution, resolutionX, resolutionY, dimensionX, textSpace, units, sizeMode, barHeight, imageHeight, imageWidth, rotationAngle, backColor, barColor, borderColor, borderWidth, borderDashStyle, borderVisible, enableChecksum, enableEscape, filledBars, alwaysShowChecksum, wideNarrowRatio, validateText, supplementData, supplementSpace, barWidthReduction, format);
79+
System.IO.Stream result = apiInstance.GetBarcodeGenerate(type, text, twoDDisplayText, textLocation, textAlignment, textColor, fontSizeMode, noWrap, resolution, resolutionX, resolutionY, dimensionX, textSpace, units, sizeMode, barHeight, imageHeight, imageWidth, rotationAngle, backColor, barColor, borderColor, borderWidth, borderDashStyle, borderVisible, enableChecksum, enableEscape, filledBars, alwaysShowChecksum, wideNarrowRatio, validateText, supplementData, supplementSpace, barWidthReduction, format);
7980
Debug.WriteLine(result);
8081
}
8182
catch (Exception e)
@@ -98,6 +99,7 @@ Name | Type | Description | Notes
9899
**textAlignment** | **string**| Text alignment. | [optional]
99100
**textColor** | **string**| Specify the displaying CodeText&#39;s Color. Default value: Color.Black. | [optional]
100101
**fontSizeMode** | **string**| 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. | [optional]
102+
**noWrap** | **bool?**| Specify word wraps (line breaks) within text. Default value: false. | [optional]
101103
**resolution** | **double?**| Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. | [optional]
102104
**resolutionX** | **double?**| DEPRECATED: Use &#39;Resolution&#39; instead. | [optional]
103105
**resolutionY** | **double?**| DEPRECATED: Use &#39;Resolution&#39; instead. | [optional]
@@ -465,7 +467,7 @@ Name | Type | Description | Notes
465467

466468
<a name="putbarcodegeneratefile"></a>
467469
# **PutBarcodeGenerateFile**
468-
> ResultImageInfo PutBarcodeGenerateFile (string name, string type, string text, string twoDDisplayText = null, string textLocation = null, string textAlignment = null, string textColor = null, string fontSizeMode = null, double? resolution = null, double? resolutionX = null, double? resolutionY = null, double? dimensionX = null, double? textSpace = null, string units = null, string sizeMode = null, double? barHeight = null, double? imageHeight = null, double? imageWidth = null, double? rotationAngle = null, string backColor = null, string barColor = null, string borderColor = null, double? borderWidth = null, string borderDashStyle = null, bool? borderVisible = null, string enableChecksum = null, bool? enableEscape = null, bool? filledBars = null, bool? alwaysShowChecksum = null, double? wideNarrowRatio = null, bool? validateText = null, string supplementData = null, double? supplementSpace = null, double? barWidthReduction = null, string storage = null, string folder = null, string format = null)
470+
> ResultImageInfo PutBarcodeGenerateFile (string name, string type, string text, string twoDDisplayText = null, string textLocation = null, string textAlignment = null, string textColor = null, string fontSizeMode = null, bool? noWrap = null, double? resolution = null, double? resolutionX = null, double? resolutionY = null, double? dimensionX = null, double? textSpace = null, string units = null, string sizeMode = null, double? barHeight = null, double? imageHeight = null, double? imageWidth = null, double? rotationAngle = null, string backColor = null, string barColor = null, string borderColor = null, double? borderWidth = null, string borderDashStyle = null, bool? borderVisible = null, string enableChecksum = null, bool? enableEscape = null, bool? filledBars = null, bool? alwaysShowChecksum = null, double? wideNarrowRatio = null, bool? validateText = null, string supplementData = null, double? supplementSpace = null, double? barWidthReduction = null, string storage = null, string folder = null, string format = null)
469471

470472
Generate barcode and save on server (from query params or from file with json or xml content)
471473

@@ -495,6 +497,7 @@ namespace Example
495497
var textAlignment = textAlignment_example; // string | Text alignment. (optional)
496498
var textColor = textColor_example; // string | Specify the displaying CodeText's Color. Default value: Color.Black. (optional)
497499
var fontSizeMode = fontSizeMode_example; // string | 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. (optional)
500+
var noWrap = true; // bool? | Specify word wraps (line breaks) within text. Default value: false. (optional)
498501
var resolution = 1.2; // double? | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. (optional)
499502
var resolutionX = 1.2; // double? | DEPRECATED: Use 'Resolution' instead. (optional)
500503
var resolutionY = 1.2; // double? | DEPRECATED: Use 'Resolution' instead. (optional)
@@ -528,7 +531,7 @@ namespace Example
528531
try
529532
{
530533
// Generate barcode and save on server (from query params or from file with json or xml content)
531-
ResultImageInfo result = apiInstance.PutBarcodeGenerateFile(name, type, text, twoDDisplayText, textLocation, textAlignment, textColor, fontSizeMode, resolution, resolutionX, resolutionY, dimensionX, textSpace, units, sizeMode, barHeight, imageHeight, imageWidth, rotationAngle, backColor, barColor, borderColor, borderWidth, borderDashStyle, borderVisible, enableChecksum, enableEscape, filledBars, alwaysShowChecksum, wideNarrowRatio, validateText, supplementData, supplementSpace, barWidthReduction, storage, folder, format);
534+
ResultImageInfo result = apiInstance.PutBarcodeGenerateFile(name, type, text, twoDDisplayText, textLocation, textAlignment, textColor, fontSizeMode, noWrap, resolution, resolutionX, resolutionY, dimensionX, textSpace, units, sizeMode, barHeight, imageHeight, imageWidth, rotationAngle, backColor, barColor, borderColor, borderWidth, borderDashStyle, borderVisible, enableChecksum, enableEscape, filledBars, alwaysShowChecksum, wideNarrowRatio, validateText, supplementData, supplementSpace, barWidthReduction, storage, folder, format);
532535
Debug.WriteLine(result);
533536
}
534537
catch (Exception e)
@@ -552,6 +555,7 @@ Name | Type | Description | Notes
552555
**textAlignment** | **string**| Text alignment. | [optional]
553556
**textColor** | **string**| Specify the displaying CodeText&#39;s Color. Default value: Color.Black. | [optional]
554557
**fontSizeMode** | **string**| 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. | [optional]
558+
**noWrap** | **bool?**| Specify word wraps (line breaks) within text. Default value: false. | [optional]
555559
**resolution** | **double?**| Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. | [optional]
556560
**resolutionX** | **double?**| DEPRECATED: Use &#39;Resolution&#39; instead. | [optional]
557561
**resolutionY** | **double?**| DEPRECATED: Use &#39;Resolution&#39; instead. | [optional]

docs/CaptionParams.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**Visible** | **bool?** | Is caption visible. | [optional]
1010
**Font** | [**FontParams**](FontParams.md) | Font. | [optional]
1111
**Padding** | [**Padding**](Padding.md) | Padding. | [optional]
12+
**NoWrap** | **bool?** | Specify word wraps (line breaks) within text. Default value: false. | [optional]
1213

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

docs/DataBarParams.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Name | Type | Description | Notes
66
**AspectRatio** | **double?** | Height/Width ratio of 2D BarCode module. Used for DataBar stacked. | [optional]
77
**Columns** | **int?** | Columns count. | [optional]
88
**Rows** | **int?** | Rows count. | [optional]
9+
**Is2DCompositeComponent** | **bool?** | Enables flag of 2D composite component with DataBar barcode | [optional]
10+
**IsAllowOnlyGS1Encoding** | **bool?** | If this flag is set, it allows only GS1 encoding standard for Databar barcode types | [optional]
911

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

docs/DataMatrixParams.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**DataMatrixEcc** | **DataMatrixEccType** | Datamatrix ECC type. Default value: DataMatrixEccType.Ecc200. | [optional]
1010
**DataMatrixEncodeMode** | **DataMatrixEncodeMode** | Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.Auto. | [optional]
1111
**Rows** | **int?** | Rows count. | [optional]
12+
**MacroCharacters** | **MacroCharacter** | Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with DataMatrixEccType.Ecc200 or DataMatrixEccType.EccAuto. Cannot be used with EncodeTypes.GS1DataMatrix Default value: MacroCharacters.None. | [optional]
1213

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

docs/GeneratorParams.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
1111
**TextColor** | **string** | Specify the displaying CodeText&#39;s Color. Default value: Color.Black. | [optional]
1212
**Font** | [**FontParams**](FontParams.md) | Specify the displaying Text&#39;s font. Default value: Arial 5pt regular. Ignored if FontSizeMode is set to FontSizeMode.Auto. | [optional]
1313
**FontSizeMode** | **FontMode** | 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. | [optional]
14+
**NoWrap** | **bool?** | Specify word wraps (line breaks) within text. Default value: false. | [optional]
1415
**Resolution** | **double?** | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. | [optional]
1516
**ResolutionX** | **double?** | DEPRECATED: Use &#39;Resolution&#39; instead. | [optional]
1617
**ResolutionY** | **double?** | DEPRECATED: Use &#39;Resolution&#39; instead. | [optional]

docs/MacroCharacter.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Aspose.BarCode.Cloud.Sdk.Model.MacroCharacter
2+
## Properties
3+
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
7+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
8+

docs/QrParams.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
1010
**EncodeMode** | **QREncodeMode** | QR symbology type of BarCode&#39;s encoding mode. Default value: QREncodeMode.Auto. | [optional]
1111
**ErrorLevel** | **QRErrorLevel** | Level of Reed-Solomon error correction for QR barcode. From low to high: LevelL, LevelM, LevelQ, LevelH. see QRErrorLevel. | [optional]
1212
**Version** | **QRVersion** | Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr. Default value is QRVersion.Auto. | [optional]
13+
**StructuredAppend** | [**StructuredAppend**](StructuredAppend.md) | QR structured append parameters. | [optional]
1314

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

docs/StructuredAppend.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Aspose.BarCode.Cloud.Sdk.Model.StructuredAppend
2+
## Properties
3+
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**SequenceIndicator** | **int?** | The index of the QR structured append mode barcode. Index starts from 0. | [optional]
7+
**TotalCount** | **int?** | Gets or sets the QR structured append mode barcodes quantity. Max value is 16. | [optional]
8+
**ParityByte** | **int?** | Gets or sets the QR structured append mode parity data. | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+

src/Api/BarcodeApi.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ public System.IO.Stream GetBarcodeGenerate(GetBarcodeGenerateRequest request)
119119
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "textAlignment", request.TextAlignment);
120120
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "textColor", request.TextColor);
121121
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "fontSizeMode", request.FontSizeMode);
122+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "noWrap", request.NoWrap);
122123
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "resolution", request.Resolution);
123124
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "resolutionX", request.ResolutionX);
124125
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "resolutionY", request.ResolutionY);
@@ -365,6 +366,7 @@ public ResultImageInfo PutBarcodeGenerateFile(PutBarcodeGenerateFileRequest requ
365366
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "textAlignment", request.TextAlignment);
366367
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "textColor", request.TextColor);
367368
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "fontSizeMode", request.FontSizeMode);
369+
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "noWrap", request.NoWrap);
368370
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "resolution", request.Resolution);
369371
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "resolutionX", request.ResolutionX);
370372
resourcePath = UrlHelper.AddQueryParameterToUrl(resourcePath, "resolutionY", request.ResolutionY);

0 commit comments

Comments
 (0)