DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomImage Class / Scroll Property



In This Topic
    Scroll Property
    In This Topic
    Controls the positioning of an image display
    Syntax
    'Declaration
     
    
    Public Property Scroll As SkiaSharp.SKPoint
    'Usage
     
    
    Dim instance As DicomImage
    Dim value As SkiaSharp.SKPoint
     
    instance.Scroll = value
     
    value = instance.Scroll
    public SkiaSharp.SKPoint Scroll {get; set;}
    public:
    property SkiaSharp.SKPoint Scroll {
       SkiaSharp.SKPoint get();
       void set (    SkiaSharp.SKPoint value);
    }

    Property Value

    The offset to use for display
    Remarks

    Together with Zoom, this determines the display of an image, which is magnified by 'Zoom' and then displaced Scroll.X pixels to the left and Scroll.Y pixels up. Zoom and Scroll are ignored if the containing control's StretchMode property is true.

    In order to find the values used at any given time, even if StretchToFit is true, use the Matrix method to get the ActualScrollX, ActualScrollY and ActualZoom which are used in the COM version.

    This property is over-ridden if a PresentationState is applied.

    If the viewer in which the image is held has
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also