Zoom

Description

The scaling percentage of the DataWindow object.

Applies to

DataWindows

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.Zoom

Describe and Modify argument:

"DataWindow.Zoom { = value }"

Parameter

Description

value

An integer specifying the scaling percentage of the DataWindow object. The default is 100%.


Usage

In the painter

To see the effect of different zoom factors in Preview mode, use Design>Zoom. The zoom factor you set in the painter is not used at runtime.

Limitation

The zoom property is not supported for the Graph, RichText, and OLE DataWindow styles.

Examples

string setting
setting = dw1.Object.DataWindow.Zoom
dw1.Object.DataWindow.Zoom = 50
setting = dw1.Describe("DataWindow.Zoom")
dw1.Modify("DataWindow.Zoom=50")