SaveAsMemory Method

Navigation:  Reference Guide > Methods >

SaveAsMemory Method

Previous pageReturn to chapter overviewNext page

Exports the QRCode barcode image byte stream to the memory.

[Visual Basic .NET]

Public Sub SaveAsMemory(ByVal MS As MemoryStream, ByVal ImgFormat As ImageFormat)

[C#]

public void SaveAsMemory(MemoryStream MS, ImageFormat ImgFormat);

Parameters

MS

Specifies the memory stream that holds the byte stream of the QRCode barcode image.

 

ImgFormat

Specifies the image format.

 

Remarks

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

 

See Also

GetActualSize() Method    |   SetSize() Method