Skip to end of metadata
Go to start of metadata
  

Introduction

Aspose.BarCode for Cloud has provided the simplest API to generate a barcode and save it on Aspose Cloud Storage.

Resource URI

Aspose.BarCode for Cloud APIs' Swagger UI lets you call this REST API directly from the browser. The description of important API parameters and their valid values are given below:

Parameter

Valid values

Description

type

Aspose.BarCode.Symbology values in string type: australiapost, australianposteparcel, aztec, codabar, code11, code16k,
code128, code39standard, code39extended, code93standard, code93extended, databaromnidirectional, databartruncated, databarlimited, databarexpanded, datamatrix, deutschepostidentcode,
deutschepostleitcode, ean128, ean13, ean14, ean8, iata2of5, isbn, ismn, issn, itf14, itf6, interleaved2of5, italianpost25, gs1datamatrix, msi,
macropdf417, matrix2of5, opc, onecode, pharmacode, pzn, pdf417, planet, postnet, qr, rm4scc, scc14, sscc18, singaporepost, standard2of5, swisspostparcel,
upca, upce, vin, CodablockF.

 

format

JPG, JPEG, PNG, BMP, TIFF, GIF and SVG

Optional parameter. If format query string is not provided Accept Header data is used. If both formats are not provided PNG format is used.

codeLocation

Above, Below, None.

Optional parameter.
Default type is Below (without parameter, with Below parameter,
with wrong parameter).

grUnit

mm, px, in, pt.

Optional parameter.
Default value is mm (without parameter, with mm parameter,
with wrong parameter).

autoSize

true, false.

Optional parameter.
Default value is true (without parameter, with true parameter,
with wrong parameter).

imageQuality

default, antialias.

Optional parameter.
Default value is "default" (without parameter, with "default" parameter,
with wrong parameter).

enableChecksum

Yes, No, Default.

Optional parameter.
Enables checksum generation. For some symbologies with obligatory checksum this property is always true. 'No' value is used if the parameter is not provided.

cURL Example

Output File: sample-barcode.png

 Request
 Response

SDKS

Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Checkout our GitHub repository for a complete list of Aspose.BarCode SDKs along with working examples, to get you started in no time.

SDK Examples

Generate a Barcode on Aspose Cloud Storage

 C#
 Java
 PHP
 Ruby
 Python
 Node.js
 Android
 Objective C
 Perl

Generate a CodablockF Type Barcode

 C#
 PHP
 Ruby
 Node.js
 Perl
 Objective C

Set Barcode Image Resolution

 C#
 Java
 PHP
 Ruby
 Python
 Node.js
 Android
 Android
 Objective C
 Perl

Specify Codetext and Symbology for barcode

 C#
 Java
 Ruby
 PHP
 Python
 Node.js
 Android
 Objective C
 Perl

Set X and Y Dimensions of a Barcode

 C#
 Java
 Ruby
 PHP
 Node.js
 Python
 Android
 Objective C
 Perl

Specify Barcode Image Save Format

 C#
 Java
 PHP
 Ruby
 Node.js
 Python
 Objective C
 Perl

Generate Barcode with Appropriate Code Text Location

 C#
 
 Java
 PHP
 Ruby
 Python
 Node.js
 
 Android
 Objective C
 Perl
 

Generate Barcode with Checksum Option

 C#
 Java
 PHP
 Ruby
 Python
 Node.js
 Objective C
 Perl

Rotate Barcode Image with Suitable Angle

 C#
 Java
 PHP
 Ruby
 Python
 Node.js
 Android
 Objective C
 Perl

Set Barcode Image Height, Width and Quality along with Auto Size Option

 C#
 Java
 PHP
 Ruby
 Python
 Node.js
 Android
 Objective C
 Perl

Set Height of the Bars in the Barcode Image

 C#
 Java
 PHP
 Ruby
 Python
 Node.js
 Android
 Objective C
 Perl

Set Barcode Image Margin

 C#
 Java
 
 PHP
 Ruby
 Node.js
 Python
 Android
 Objective C
 Perl

Generate Multiple Barcodes 

 C#
 Node.js
 Perl

Generate Image with Multiple Barcodes and Put New File on Server

 C#
 Node.js
 Perl

 

 

 Node.js
Labels
  • No labels