Font.Bias

Description

The way fonts are manipulated in the DataWindow at runtime.

Applies to

DataWindows

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.Font.Bias

Describe and Modify argument:

"DataWindow.Font.Bias { = biasvalue }"

Parameter

Description

biasvalue

An integer indicating how the fonts will be manipulated at execution. Biasvalue cannot be a DataWindow expression.

Values are:

  • 0 – As display fonts

  • 1 – As printer fonts

  • 2 – Neutral; no manipulation will take place

Examples

Example 1

string setting

setting = dw1.Object.DataWindow.Font.Bias

dw1.Object.DataWindow.Font.Bias = 1

Example 2

setting = dw1.Describe("DataWindow.Font.Bias")

dw1.Modify("DataWindow.Font.Bias=1")