Visit Gigasoft's Web Site
 ProEssentials v9 Help

ZoomInterfaceOnly

Scope

Pego, Pesgo, Pepso

Type

Int32

Default

PEZIO_NORMAL

.NET

PeUserInterface.Allow.ZoomInterfaceOnly

Ocx|Vcl

ZoomInterfaceOnly

DLL

PEP_nZOOMINTERFACEONLY

 

Purpose

This property can be used to supply your own functionality based upon the user selecting/drawing a rectangle or line. AllowZooming and ZoomLimits can restrain the zooming extents. Once the user zooms, nothing happens except that an event is triggered...

 

.NET: PeZoomIn event

OCX|VCL, ZoomIn event

DLL/SDK: PEWN_ZOOMIN notification message is sent to the parent window

 

Use above notifications to trigger when to look at ZoomMinX, ZoomMaxX, ZoomMinY, ZoomMaxY, ZoomMinRY, ZoomMaxRY, ZoomMinAxis, and ZoomMaxAxis. Then provide any logic such as drawing annotations or changing data based upon the users' actions.

 

 

.NET Gigasoft.Enums.

ActiveX and

 

ZoomInterfaceOnly.

DLL Constants

Description

Normal

PEZIO_NORMAL(0)

Enable built-in zooming.

Rect

PEZIO_RECT(1)

Disable built-in zooming, Enable rectangular selection/drawing tool.

Line

PEZIO_LINE(2)

Disable built-in zooming, Enable line selection/drawing tool.

 

Graph VCL Enumerations

eZoomInterfaceOnly = (gNormalZooming, gRectangleSelector, gLineSelector);

 

Scientific Graph VCL Enumerations

eZoomInterfaceOnly = (sgNormalZooming, sgRectangleSelector, sgLineSelector);

 

Polar/Smith Chart VCL Enumerations

eZoomInterfaceOnly = (psNormalZooming, psRectangleSelector, psLineSelector);

 

Comments

PeUserInterface.Allow.ZoomInterfaceOnly members of Pego.PeUserInterface.Allow, Pesgo.PeUserInterface.Allow, Pepso.PeUserInterface.Allow

 

Within the demo, see example 107.

 

Make sure that WorkingAxis is equal to zero before retrieving ZoomMinY or ZoomMaxY. WorkingAxis is zero by default and this is only a concern when implementing multi y axes and have used the WorkingAxis property.

 

See Also: AllowZooming, ZoomStyle, ZoomLimits