Tag: Scroll

Initialising an image to the viewer size (stretch and scroll)

It is often useful to zoom and scroll an image to fill the viewer on first load. The quick way of doing this is by using StretchMode method i.e. DicomObjects.NET GetSelectedImage().StretchMode = DicomObjects.Enums.StretchModes.StretchCentred; However if StretchMode is used it doesn’t allow the image to be scrolled or zoomed. To overcome this problem it is possible to save the scroll and zoom values used by the StretchMode , then remove the StretchMode and apply them to the image.

Continue reading..