LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetImageInformation Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class : GetImageInformation Method



element
An item in the Data Set.
index
The zero-based index of the frame whose information is required.
element
An item in the Data Set.
index
The zero-based index of the frame whose information is required.
Retrieves information about the specified image. Supported in Silverlight, Windows Phone 7.

Syntax

Visual Basic (Declaration) 
Public Function GetImageInformation( _
   ByVal element As DicomElement, _
   ByVal index As Integer _
) As DicomImageInformation
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim element As DicomElement
Dim index As Integer
Dim value As DicomImageInformation
 
value = instance.GetImageInformation(element, index)
C# 
public DicomImageInformation GetImageInformation( 
   DicomElement element,
   int index
)
C++/CLI 
public:
DicomImageInformation^ GetImageInformation( 
   DicomElement^ element,
   int index
) 

Parameters

element
An item in the Data Set.
index
The zero-based index of the frame whose information is required.

Return Value

The information about the specified image.

Example

For an example, refer to DicomDataSet.GetImage.

Remarks

Most DICOM files will only have one Data Element of type DicomTag.PixelData. Therefore, in most instances you can set the element to null, since the method will automatically retrieve information about the image at the specified index within the only Pixel Data Element in the file. If the element is not null, it must point to the Pixel Data Element itself.

If the DICOM file is DicomClassType.BasicDirectory , the file may contain more than one Pixel Data Element. In this case you must specify in the element parameter the Pixel Data Element from which to get the image information.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features