Class BarcodeGenerator
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Provides the ability to generate barcodes and QR codes.
Different encoding types Qr
public static class BarcodeGenerator
- Inheritance
-
objectBarcode
Generator
Methods
View SourceGenerateImage(string, BarcodeType, BarcodeImageConfiguration, BarcodeGenerationConfiguration)
Generates a barcode image file with the specified message and Barcode
Declaration
public static void GenerateImage(string message, BarcodeType type, BarcodeImageConfiguration imageConfig, BarcodeGenerationConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message to be encoded in the barcode. |
Barcode |
type | Type of the barcode to be generated. |
Barcode |
imageConfig | The Barcode |
Barcode |
config | The configuration of the barcode generator. This value can be null. |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
System. |
No permission to write a file. |
System. |
The feature is not supported. |
System. |
|
See Also
View SourceGenerateImage(string, BarcodeType, BarcodeImageConfiguration)
Generates a barcode image file with the specified message.
Declaration
public static void GenerateImage(string message, BarcodeType type, BarcodeImageConfiguration imageConfig)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message to be encoded in the barcode. |
Barcode |
type | Type of the barcode to be generated. |
Barcode |
imageConfig | The Barcode |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
System. |
No permission to write a file. |
System. |
The feature is not supported. |
See Also
View SourceGenerateImage(string, QrConfiguration, BarcodeImageConfiguration, BarcodeGenerationConfiguration)
Generates a QR image file with the specified message and Barcode
Declaration
public static void GenerateImage(string message, QrConfiguration qrConfig, BarcodeImageConfiguration imageConfig, BarcodeGenerationConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message to be encoded in the barcode. |
Qr |
qrConfig | The Qr |
Barcode |
imageConfig | The Barcode |
Barcode |
config | The configuration of the barcode generator. This value can be null. |
Remarks
Text
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
System. |
No permission to write a file. |
System. |
The feature is not supported. |
System. |
|
See Also
View SourceGenerateImage(string, QrConfiguration, BarcodeImageConfiguration)
Generates a QR image file with the specified message.
Declaration
public static void GenerateImage(string message, QrConfiguration qrConfig, BarcodeImageConfiguration imageConfig)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message to be encoded in the barcode. |
Qr |
qrConfig | The Qr |
Barcode |
imageConfig | The Barcode |
Remarks
Text
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
System. |
No permission to write a file. |
System. |
The feature is not supported. |
See Also
View SourceGenerateSource(string, BarcodeType, BarcodeGenerationConfiguration)
Generates a barcode image with the specified message and Barcode
Declaration
public static MediaVisionSource GenerateSource(string message, BarcodeType type, BarcodeGenerationConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message to be encoded in the barcode. |
Barcode |
type | Type of the barcode to be generated. |
Barcode |
config | The configuration of the barcode generator. This value can be null. |
Returns
Type | Description |
---|---|
Media |
Media |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
System. |
The feature is not supported. |
System. |
|
See Also
View SourceGenerateSource(string, BarcodeType)
Generates a barcode image with the specified message.
Declaration
public static MediaVisionSource GenerateSource(string message, BarcodeType type)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message to be encoded in the barcode. |
Barcode |
type | Type of the barcode to be generated. |
Returns
Type | Description |
---|---|
Media |
Media |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
System. |
The feature is not supported. |
See Also
View SourceGenerateSource(string, QrConfiguration, BarcodeGenerationConfiguration)
Generates a QR image with the specified message with Barcode
Declaration
public static MediaVisionSource GenerateSource(string message, QrConfiguration qrConfig, BarcodeGenerationConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message to be encoded in the barcode. |
Qr |
qrConfig | The Qr |
Barcode |
config | The configuration of the barcode generator. This value can be null. |
Returns
Type | Description |
---|---|
Media |
Media |
Remarks
Text
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
System. |
The feature is not supported. |
System. |
|
See Also
View SourceGenerateSource(string, QrConfiguration)
Generates a QR image with the specified message.
Declaration
public static MediaVisionSource GenerateSource(string message, QrConfiguration qrConfig)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message to be encoded in the barcode. |
Qr |
qrConfig | The Qr |
Returns
Type | Description |
---|---|
Media |
Media |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
System. |
The feature is not supported. |