Aztec.GetOverflowAztec

Gets a new instance of the Aztec class.

public Aztec GetOverflowAztec()
Function GetOverflowAztec() As Aztec

Returns

Aztec

Returns a Aztec object.

Licensing Info

This method is a DynamicBarcode Creator feature. One of the following is required for non-evaluation usage:

Examples

The following example shows how to create the Aztec barcodes in cases where more than one barcode is required to represent the data.

Imports System
Imports ceTe.DynamicBarcode.Creator

Module MyModule

	Sub Main()
        
        Dim MyFileCount As Integer = 1
        
        ' Create Aztec barcode object.
        Dim MyAztecBarcode As Aztec = New Aztec("Aztec barcode with overflows", AztecSymbolSize.R19xC19)
        
        Do
            Dim MyTempAztecBarcode As Aztec = Nothing
            
            ' Get the Overflow Aztec barcode.
            MyTempAztecBarcode = MyAztecBarcode.GetOverflowAztec()
            
            ' Save the Aztec barcode as an image.
            MyAztecBarcode.Draw("Aztec_" + MyFileCount.ToString() + ".png", 72, ImageFormat.Png)
            
            MyAztecBarcode = MyTempAztecBarcode
            
            MyFileCount += 1
        Loop While Not MyAztecBarcode Is Nothing             
	End Sub
End Module
using System;
using ceTe.DynamicBarcode.Creator;

class MyClass
{
	static void Main()
	{
	    int fileCount = 1;
	    
        // Create Aztec barcode object.
		Aztec AztecBarcode = new Aztec("Aztec barcode with overflows", AztecSymbolSize.R19xC19);
		
        do
        {
            Aztec tempAztecBarcode = null;
            
            // Get the Overflow Aztec barcode.
            tempAztecBarcode = AztecBarcode.GetOverflowAztec();
            
            // Save the Aztec barcode as an image.
            AztecBarcode.Draw("Aztec_" + fileCount.ToString() + ".png", 72, ImageFormat.Png);
            
            AztecBarcode = tempAztecBarcode;
            
            fileCount++;
        } while (AztecBarcode != null);
	}
}

Remarks

This method returns a new Aztec object that contains the remaining data that did not fit.

See Also

Aztec
ceTe.DynamicBarcode.Creator

In this topic