GetMinimumTextLength Method
- Namespace
TXTextControl.Barcode
- Package
TXTextControl.asTextControl. WPF. SDK TXBarcode.from the private NuGet feed or Text Control Offline Packagesdll
Description
Returns the minimum text length of the specified barcode type.
Syntax
public static int GetMinimumTextLength(BarcodeType barcodeType);Public Shared Function GetMinimumTextLength(barcodeType As BarcodeType) As IntegerParameters
| Parameter | Description |
|---|---|
| barcodeType | Specifies the barcode type whose minimum text length is returned. |
Return Value
The minimum text length for the specified barcode type.
Examples
The following example retrieves minimum text length from the txbarcode core.
var result = TXTextControl.Barcode.TXBarcodeCore.GetMinimumTextLength(TXTextControl.Barcode.BarcodeType.QRCode);
Console.WriteLine($"Get Minimum Text Length result: {result}");Dim result = TXTextControl.Barcode.TXBarcodeCore.GetMinimumTextLength(TXTextControl.Barcode.BarcodeType.QRCode)
Console.WriteLine($"Get Minimum Text Length result: {result}")