SaveAsImage Method

Navigation:  Reference Guide > Methods >

SaveAsImage Method

Previous pageReturn to chapter overviewNext page

Exports the Aztec barcode image to a file.

[Visual Basic .NET]

Public Sub SaveAsImage(ByVal FileName As String, ByVal ImgFormat As ImageFormat)

[C#]

public void SaveAsImage(string FileName, ImageFormat ImgFormat);

Parameters

FileName

A string that contains the name of the file to which to save Aztec barcode image.

 

ImgFormat

Specifies the image format.

 

Remarks

Before you call this method, use GetActualSize() method to obtain the actual size of Aztec barcode and use SetSize() method to set the image size by adding the surrounding white space around the Aztec barcode.

 

See Also

GetActualSize() Method    |   SetSize() Method