Property: Font

Font fontobject

Specifies the font by name, style, effects and the size for the text line.

The Font property is an object which illustrates the different properties of the font.

General the usage of the font object is as follows::

Change the size: Barcode1.Font.Size = 10

Change the Font:
Barcode1.Font.Name = "Arial"

Change the style and the effects:
Barcode1.Font.Bold = True
Barcode1.Font.Italic = True
Barcode1.Font.Underline = True
Barcode1.Font.Strikethrough = True

In some developing environments these properties are determined by enumeration types, e.g. Delphi. Have a look in the help of the developing system for information how to handle them.


Font: Arial, 12pt, Bold

Font: Comix, 14pt, Standard

Code examples

Barcode1.Font.name := 'Courier New';
Barcode1.Font.size := 14;
Barcode1.Font.style := [fsbold];

| Home | Shop | Download | Email | Privacy policy | Imprint | Version 6.8.0
Copyright © Frank Horn & Lars Schenk
All trademarks and product names mentioned are the property of their respective owners.

We use cookies to provide you with the best experience and functionality on our website. By using our site you agree to this. read more >