Sybase 2 Barcode Reader User Manual


 
Supplying property values
306 DataWindow .NET
Font.Underline
Description
A number that specifies whether the text should be underlined.
In the painter
Underline on the Font page in the Properties view.
Value
Values are:
0—Not underlined
1—Underlined
Example
The following statement, when applied to the Font.Underline property of
columns of employee information, causes the information to be underlined if
the employee does not have health insurance:
If(bene_health_ins = 'N', 1, 0)
For pictures of this example, see “Font.Italic” on page 304.
Font.Weight
Description
The weight of the text.
In the painter
Bold on the Font page in the Properties view.
Value
Values are:
100—Thin
200—Extra light
300—Light
400—Normal
500—Medium
600—Semibold
700—Bold
800—Extrabold
900—Heavy
Most commonly used values
The most commonly used values are 400 (Normal) and 700 (Bold). Your
printer driver might not support all of the settings.
Example
The following statement, when applied to the Font.Weight property of columns
of employee information, causes the information to be displayed in bold if the
employee does not have health insurance:
If(bene_health_ins = 'N', 700, 400)
For pictures of this example, see “Font.Italic” on page 304.