Get-KFBarcode

available: kenaflow 2.0.28 and above.

Syntax

Get-KFBarcode 
  -InputStream <stream> 
  [-Multiple[:$false]] 
  [-TryHarder[:$false]] 
  [-ThrowErrors[:$true]]
Get-KFBarcode 
  -InputBase64 <string> 
  [-Multiple[:$false]] 
  [-TryHarder[:$false]] 
  [-ThrowErrors[:$true]]

Support

>= kenaflow 2.0.28

Return

Barcode object.

Description

We use the open source library ZXING.NET to read barcodes from images.

Parameters

-InputStream <stream>

The image as System.IO.Stream.

-InputBase64 <string>

The image as Base64 string.

[-Multiple[:$false]]

Set this parameter if the image contains multiple barcodes.

[-TryHarder[:$false]]

Set this parameter to force the algorithm to "try harder" to read the barcode.

[-ThrowErrors[:$true]]

This is a default parameter for all kenaflow cmdlets. If set to $true (default!) the engine will pass exception within the cmdlet to the script for further handling.