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.

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

Examples

Example 1

string setting

setting = dw1.Object.DataWindow.Zoom

Example 2

dw1.Object.DataWindow.Zoom = 50

Example 3

setting = dw1.Describe("DataWindow.Zoom")

dw1.Modify("DataWindow.Zoom=50")