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

The point location of interest in the control.




ImageIndices Method
Identifies the image and pixel positions within it displayed at a particular location in the control
Syntax
public virtual int[] ImageIndices( 
   Point p
)
public:
virtual array<int>^ ImageIndices( 
   Point p
) 
'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)

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 3.5 or higher

See Also