MacroPdf417.GetOverflowMacroPdf417

Gets a new instance of the MacroPdf417 class.

public MacroPdf417 GetOverflowMacroPdf417()
Function GetOverflowMacroPdf417() As MacroPdf417

Returns

MacroPdf417

Returns a MacroPdf417 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 MacroPdf417 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 MacroPdf417 barcode object.
        Dim MyMacroPdf417Barcode As MacroPdf417 = New MacroPdf417("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit.", 2, 10)
        
        Do
            Dim MyTempMacroPdf417Barcode As MacroPdf417 = Nothing
            
            ' Get the Overflow MacroPdf417 barcode.
            MyTempMacroPdf417Barcode = MyMacroPdf417Barcode.GetOverflowMacroPdf417()
            
            ' Save the MacroPdf417 barcode as an image.
            MyMacroPdf417Barcode.Draw("MacroPdf417_" + MyFileCount.ToString() + ".png", 72, ImageFormat.Png)
            
            MyMacroPdf417Barcode = MyTempMacroPdf417Barcode
            
            MyFileCount += 1
        Loop While Not MyMacroPdf417Barcode Is Nothing             
	End Sub
End Module
using System;
using ceTe.DynamicBarcode.Creator;

class MyClass
{
	static void Main()
	{
	    int fileCount = 1;
	    
        // Create MacroPdf417 barcode object.
		MacroPdf417 macroPdf417Barcode = new MacroPdf417("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit.", 2, 10);
		
        do
        {
            MacroPdf417 tempMacroPdf417Barcode = null;
            
            // Get the Overflow MacroPdf417 barcode.
            tempMacroPdf417Barcode = macroPdf417Barcode.GetOverflowMacroPdf417();
            
            // Save the MacroPdf417 barcode as an image.
            macroPdf417Barcode.Draw("MacroPdf417_" + fileCount.ToString() + ".png", 72, ImageFormat.Png);
            
            macroPdf417Barcode = tempMacroPdf417Barcode;
            
            fileCount++;
        } while (macroPdf417Barcode != null);
	}
}

Remarks

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

See Also

MacroPdf417
ceTe.DynamicBarcode.Creator

In this topic