Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
GetImageCount Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class : GetImageCount Method




element
An item in the Data Set.
Gets the number of frames in a Pixel Data element.

Syntax

Visual Basic (Declaration) 
Public Function GetImageCount( _
   ByVal element As DicomElement _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim element As DicomElement
Dim value As Integer
 
value = instance.GetImageCount(element)
C# 
public int GetImageCount( 
   DicomElement element
)
Managed Extensions for C++ 
public: int GetImageCount( 
   DicomElement* element
) 
C++/CLI 
public:
int GetImageCount( 
   DicomElement^ element
) 

Parameters

element
An item in the Data Set.

Return Value

Number of frames in a Pixel Data element.

Example

For an example, refer to GetImage.

Remarks

If element is null, this method returns the number of images present in the entire Data Set.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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