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




index
The zero-based index of the VOI LUT to retrieve. According to the DICOM standard, one or more items could exist under one VOI LUT Sequence (0028,3010); use this index to specify the item from which to retrieve the attributes.
Retrieves the attributes that describe the VOI LUT.

Syntax

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

Parameters

index
The zero-based index of the VOI LUT to retrieve. According to the DICOM standard, one or more items could exist under one VOI LUT Sequence (0028,3010); use this index to specify the item from which to retrieve the attributes.

Return Value

The VOI LUT attributes.

Example

For an example, refer to VoiLutCount.

Remarks

Before calling this method, access VoiLutCount to see if a VOI LUT Sequence (0028,3010) exists in the DICOM Data Set and to obtain the number of items under that sequence.

index is zero-based. If you pass 0, this method will populate DicomVoiLutAttributes with the values of the "LUT Descriptor"(0028,3002) under the first item in the "VOI LUT Sequence" and LutExplanation with the value of the "LUT Explanation" (0028,3003) element, if it exists.

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