TX Text Control .NET Server

GetDefaultText Method

Method|Introduced in 33.0
Namespace
TXTextControl.Barcode
Package
TXTextControl.TextControl.Core.SDK as TXBarcode.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXBarcode.dll

Description

Returns the default text for the specified barcode type.

Syntax

public static string GetDefaultText(BarcodeType barcodeType);

Parameters

ParameterDescription
barcodeType

Specifies the barcode type whose default text is returned.

Return Value

The default text for the specified barcode type.

Examples

The following example retrieves default text from the txbarcode core.

var result = TXTextControl.Barcode.TXBarcodeCore.GetDefaultText(TXTextControl.Barcode.BarcodeType.QRCode);
Console.WriteLine($"Get Default Text result: {result}");