DicomObjects.NET.8.48 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 System.Drawing.PointF
    public System.Drawing.PointF Scroll {get; set;}

    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: .NET CLR 4.8 or higher

    See Also