DicomObjects.NET.V8
DicomObjects Namespace / DicomViewer Class / ImageIndices Method

The point location of interest in the control.




In This Topic
    ImageIndices Method
    In This Topic
    Identifies the image and pixel positions within it displayed at a particular location in the control
    Syntax
    'Declaration
     
    Public Overridable Function ImageIndices( _
       ByVal p As Point _
    ) As Integer()
    'Usage
     
    Dim instance As DicomViewer
    Dim p As Point
    Dim value() As Integer
     
    value = instance.ImageIndices(p)
    public virtual int[] ImageIndices( 
       Point p
    )
    public:
    virtual array<int>^ ImageIndices( 
       Point p
    ) 

    Parameters

    p

    The point location of interest in the control.

    Return Value

    Indices of the Images within the Viewer's Images collection

    Remarks

    If the point identified corresponds with an image cell, ImageIndicies returns an array of the index to each image within the viewer's images collection.

    If the point is not within an image cell, all methods return an empty array.

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also