Barcode Plugin for Xojo

iOSBarcodeGenerator.GenerateToiOSBitmap Method

Generates Barcode from Text value, returning it as iOSBitmap object.

GenerateToiOSBitmap(
   type as iOSBarcodeGenerator.BarcodeType,
   value as Text,
   printTextBellow as Boolean) as iOSBitmap

Parameters

type
The type of Barcode to generate.
value
The value to generate the barcode from.
printTextBellow
True if wanting barcode text label included, else false.

Returns

iOSBitmap

Remarks


Dim b as iOSBarcodeGenerator = new iOSBarcodeGenerator()

b.Padding = 5
b.QuietZoneIncludedInPadding = true

Image = b.GenerateToiOSBitmap(iOSBarcodeGenerator.BarcodeType.EAN13, "523456789012", true)

See Also

iOSBarcodeGenerator Class