Image Viewer CP ActiveX Control

QRWriterSave

 

 Save the QR barcode to image file.

Public Function QRWriterSave(
 ByVal strFileName  As String, _
 ByVal strFileType  As String, _
 ByVal strValue  As String, _
 ByVal ieccLevel  As long, _
 ByVal iVersion  As long, _
 ByVal iBorderWidth  As long, _
 ByVal clrFg  As Color, _
 ByVal clrBg  As Color, _
 ByVal iScale  As double
)

 

Parameter

strFileName 
   the output file name of QR Barcode.

strFileType
 the output Image format.
 JPG  - JPEG file.
 PNG - PNG file.
 GIF - GIF file.
 TIF - TIF file.
 BMP - BMP file.
 PCX - PCX file.
 JP2 - JP2 file.
 JPC - JPC file.
 RAS - RAS file.
 PGX - PGX file.
 PNM - PNM file.

strValue
   the value of QR Barcode

ieccLevel
   the error level.  From 0-3.

iVersion
   the version no.  From 0-39.

iBorderWidth
   the width of border.

clrFg
   the foreground color of QR Barcode.

clrBg
   the background color of QR Barcode.

iScale
  the scale value. From 0.5 to 5.

No Return Value

Example

   

Visual Basic Syntax

 ImageViewer1.QRWriterSave "c:\testqr", "jpg", "http://www.viscomsoft.com", 0, 0, 1, RGB(0,0,0), RGB(255,255,255), 1.0