DicomObjects.NET.8.48 Documentation
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 System.Drawing.Point _
    ) As System.Integer()
    'Usage
     
    
    Dim instance As DicomViewer
    Dim p As System.Drawing.Point
    Dim value() As System.Integer
     
    value = instance.ImageIndices(p)
    public virtual System.int[] ImageIndices( 
       System.Drawing.Point p
    )
    public function ImageIndices( 
        p: System.Drawing.Point
    ): System.array of Integer; virtual; 
    public function ImageIndices( 
       p : System.Drawing.Point
    ) : System.int[];
    public: virtual System.int[]* ImageIndices( 
       System.Drawing.Point p
    ) 
    public:
    virtual System.array<int>^ ImageIndices( 
       System.Drawing.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.8 or higher

    See Also