Image Viewer CP ActiveX Control

BarCodeWriterSetValue

 

Set the barcode value when create the barcode.

Public Function BarCodeWriterSetStandard( _
   ByVal strValue As String) 

 

Parameter

strValue
the barcode value

No Return Value


Example

   

Visual Basic Syntax
ImageViewer1.BarCodeWriterSetValue "12345"
ImageViewer1.BarCodeWriterSetStandard 0
ImageViewer1.BarCodeWriterSetOutputArea 200, 100
ImageViewer1.BarCodeWriterShowCheckDigit true
ImageViewer1.BarCodeWriterShowText true
ImageViewer1.BarCodeWriterFitToRect false
ImageViewer1.BarCodeWriterSetFontSize 18
ImageViewer1.BarCodeWriterLeftTopPos 100, 0
ImageViewer1.BarCodeWriterSetHeight 200

ImageViewer1.BarCodeWriterPreview
strError = ImageViewer1.BarCodeWriterGetErrorMessage
If strError <> "" Then
   MsgBox strError
   Exit Sub
End If