Description

A method to set both the Pan and Scroll properties with a single call.

Return Type

None  

Syntax

object.SetPanScroll lPan, lScroll

The SetPanScroll Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McView.
lPanRequired. A Long value.

long : The horizontal offset, in image pixel coordinates.

lScrollRequired. A Long value.

long : The vertical offset, in image pixel coordinates.

Remarks

Refer to each property for more details. The blending and masking images, if any, are also panned and scrolled.

Exceptions

Exception: Meaning:

S_OK.