GetModeName()

BSTR GetModeName(LPINT mode) for Aztec and DataMatrix font kits.

BSTR GetModeName(LPINT code, LPINT mode) for the PDF font kit, where the code parameter contains 0 for PDF417 barcodes or 1 for Micro PDF barcodes.

Return the name of 2D mode for the barcode type. For example, DataMatrix barcodes have the mode name “Square” for mode=0 and “Rectangular” for mode=1.

An invalid value in mode will return an empty string, so this method may be used for enumerating the available modes; for example:

 

For i = 0 To 10
    x$ = Aztocx1.GetModeName(i)
    If (Len(x$) > 0) Then
        Combomode.AddItem (x$)
    Else
        Exit For
    End If
Next

 

More:

GetMaxLevel()