BarcodeTextFont

 

 

Returns or sets the font of bar code text.

 

Syntax

 

BarCodeWiz1.BarcodeTextFont

 

 

Visual Basic Examples

 

Example 1. Retrieve current font name

 

Dim ftName As String

ftName = BarcodeTextFont.Name

 

Example 2. Set BarcodeTextFont

 

Dim f As StdFont

Set f = New stdole.StdFont

f.Name = "Times New Roman"

f.Size = 16

Set BarCodeWiz1.BarcodeTextFont = f

 

Example 3. Change current BarcodeTextFont size.

 

Dim f As StdFont

Set f = New stdole.StdFont

Set f = BarCodeWiz1.BarcodeTextFont 'Retrieve current font

f.Size = 14

Set BarCodeWiz1.BarcodeTextFont = f