Description

Shifts the image vertically.

Property type

A Long value.  

Syntax

object.Scroll [= value]

The Scroll Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDisplay.
valueA Long value.

Remarks

When the view window (the Windows Client area) is vertically smaller than the image to display, this property shifts the image up so that the user may see a different portion of the image. The property is in unzoomed image pixels and may range from 0 to the size of the image, minus the size of the display window. If an attempt is made to set the property too large, the proper maximum value is used and no error is generated. The blending and masking images, if any, are also scrolled.

Notes

This property and the corresponding McView.Display property, are the same but send different PropertyChnaged notifications. Assigning to this property will avoid recording the assignment, which may be useful if you are making many intermediate changes.