ImagePanned Event

NI Vision for Visual Basic

ImagePanned Event

Syntax

Sub ControlName_ImagePanned(dx, dy)

Applies To

CWIMAQViewer

Purpose

Fires when you pan the image in the viewer.

Remarks

This event fires if you pan the image programmatically using the OriginX and OriginY properties or through the built-in user interface of the Viewer control.

Parameters

dx As Variant

Number of pixels panned in the x-direction.

dy As Variant

Number of pixels panned in the y direction.

See Also

OriginX

OriginY