DicomObjects.NET.V8
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 PointF
    'Usage
     
    Dim instance As DicomImage
    Dim value As PointF
     
    instance.Scroll = value
     
    value = instance.Scroll
    public PointF Scroll {get; set;}
    public:
    property PointF Scroll {
       PointF get();
       void set (    PointF 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: .NET CLR 3.5 or higher

    See Also