DicomObjects Reference
DicomObjects Reference / DicomImage Object / ScrollY Property
ScrollY Property
Description
Controls the positioning of an image display
Property type
Read-write property
Syntax
Visual Basic
Public Property ScrollY As Single
Remarks

Together with Zoom, this determines the display of an image, which is magnified by ‘Zoom’ and then displaced ScrollX pixels to the left and ScrollY pixels up.  These properties are ignored if the containing control is set to StretchedCentred.
In order to find the values used at any given time, even if StretchToFit is true, use the ActualScrollX and ActualScrollY properties
These properties are over-ridden if a Presentation State is applied.

If the viewer in which the image is held has UseScrollBars is true, then the values of ScrollX and ScrollY are silently constrained to values which keep the corners of the image cell within the image.

See Also